Package com.couchbase.client.core.error
Class CoreErrorCodeAndMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.error.CouchbaseException
com.couchbase.client.core.error.CoreErrorCodeAndMessageException
- All Implemented Interfaces:
Serializable
This is an internal exception the user should never see;
The SDK should translate it to some other exception before
presenting it to the user.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCoreErrorCodeAndMessageException
(List<ErrorCodeAndMessage> errors, ErrorContext errorContext) -
Method Summary
Methods inherited from class com.couchbase.client.core.error.CouchbaseException
context, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CoreErrorCodeAndMessageException
public CoreErrorCodeAndMessageException(List<ErrorCodeAndMessage> errors, ErrorContext errorContext)
-
-
Method Details
-
errors
-
retriable
public boolean retriable() -
hasCode
public boolean hasCode(int code)
-