All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.stuartgunter.maven.plugins.couchbase.CouchbaseException Maven / Gradle / Ivy

Go to download

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