
org.stuartgunter.maven.plugins.couchbase.CouchbaseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of couchbase-maven-plugin Show documentation
Show all versions of couchbase-maven-plugin Show documentation
Provides support for executing administrative operations against a running instance of Couchbase
The newest version!
package org.stuartgunter.maven.plugins.couchbase;
import com.google.common.collect.ImmutableMap;
import java.util.Map;
/**
* This exception type contains a map of errors returned from a failed Couchbase REST API request
*/
public class CouchbaseException extends RuntimeException {
private final Map errors;
public CouchbaseException(String message, Map errors) {
super(message);
this.errors = ImmutableMap.copyOf(errors);
}
public Map getErrors() {
return errors;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy