Package com.couchbase.client.core.error
Class CouchbaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.error.CouchbaseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlreadyShutdownException,AnalyticsException,AuthenticationFailureException,BucketExistsException,BucketNotFlushableException,BucketNotFoundException,CasMismatchException,CollectionExistsException,CollectionNotFoundException,CompilationFailureException,ConfigException,DatasetExistsException,DatasetNotFoundException,DataverseExistsException,DataverseNotFoundException,DecodingFailureException,DeltaInvalidException,DesignDocumentNotFoundException,DocumentExistsException,DocumentLockedException,DocumentMutationLostException,DocumentNotFoundException,DocumentNotJsonException,DocumentTooDeepException,DocumentUnretrievableException,DurabilityAmbiguousException,DurabilityImpossibleException,DurabilityLevelNotAvailableException,DurableWriteInProgressException,DurableWriteReCommitInProgressException,EncodingFailureException,FeatureNotAvailableException,GroupNotFoundException,IndexExistsException,IndexFailureException,IndexNotFoundException,InternalServerFailureException,InvalidArgumentException,JobQueueFullException,LinkNotFoundException,MapperException,NumberTooBigException,OperationDoesNotExist,ParsingFailureException,PathExistsException,PathInvalidException,PathMismatchException,PathNotFoundException,PathTooDeepException,PlanningFailureException,PreparedStatementFailureException,QueryException,ReplicaNotAvailableException,ReplicaNotConfiguredException,RequestCanceledException,ScopeExistsException,ScopeNotFoundException,SecurityException,ServerOutOfMemoryException,ServiceNotAvailableException,TemporaryFailureException,TimeoutException,UserNotFoundException,ValueInvalidException,ValueTooDeepException,ValueTooLargeException,ViewNotFoundException,ViewServiceException,XattrCannotModifyVirtualAttributeException,XattrInvalidFlagComboException,XattrInvalidKeyComboException,XattrInvalidOrderException,XattrNoAccessException,XattrUnknownMacroException,XattrUnknownVirtualAttributeException
public class CouchbaseException extends RuntimeException
The parent class for all exceptions created by this SDK (or clients using it).
- Since:
- 2.0.0
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CouchbaseException()Deprecated.CouchbaseException(String message)CouchbaseException(String message, ErrorContext ctx)CouchbaseException(String message, Throwable cause)CouchbaseException(String message, Throwable cause, ErrorContext ctx)CouchbaseException(Throwable cause)Deprecated. -
Method Summary
Modifier and Type Method Description ErrorContextcontext()Returns the error context, if present.StringtoString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CouchbaseException
Deprecated.Keeping it in there to not break left and right, but must be removed eventually to force good errors. -
CouchbaseException
Deprecated.Keeping it in there to not break left and right, but must be removed eventually to force good errors. -
CouchbaseException
-
CouchbaseException
-
CouchbaseException
-
CouchbaseException
-
-
Method Details