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:
ActiveTransactionRecordEntryNotFoundException,ActiveTransactionRecordFullException,ActiveTransactionRecordNotFoundException,AlreadyShutdownException,AnalyticsException,AttemptExpiredException,AttemptNotFoundOnQueryException,AuthenticationFailureException,BucketExistsException,BucketNotFlushableException,BucketNotFoundException,CasMismatchException,CollectionExistsException,CollectionNotFoundException,CommitNotPermittedException,CompilationFailureException,ConcurrentOperationsDetectedOnSameDocumentException,ConfigException,CoreErrorCodeAndMessageException,CoreTransactionFailedException,DatasetExistsException,DatasetNotFoundException,DataverseExistsException,DataverseNotFoundException,DecodingFailureException,DeltaInvalidException,DesignDocumentNotFoundException,DmlFailureException,DocumentAlreadyAliveException,DocumentAlreadyInTransactionException,DocumentExistsException,DocumentLockedException,DocumentMutationLostException,DocumentNotFoundException,DocumentNotJsonException,DocumentNotLockedException,DocumentTooDeepException,DocumentUnretrievableException,DurabilityAmbiguousException,DurabilityImpossibleException,DurabilityLevelNotAvailableException,DurableWriteInProgressException,DurableWriteReCommitInProgressException,EncodingFailureException,EventingFunctionCompilationFailureException,EventingFunctionDeployedException,EventingFunctionIdenticalKeyspaceException,EventingFunctionNotBootstrappedException,EventingFunctionNotDeployedException,EventingFunctionNotFoundException,FeatureNotAvailableException,ForwardCompatibilityFailureException,ForwardCompatibilityRequiresRetryException,GroupNotFoundException,HttpStatusCodeException,IndexExistsException,IndexFailureException,IndexNotFoundException,InternalServerFailureException,InvalidArgumentException,InvalidRequestException,JobQueueFullException,LinkExistsException,LinkNotFoundException,MapperException,MeterException,MutationTokenOutdatedException,NumberTooBigException,OperationDoesNotExist,ParsingFailureException,PathExistsException,PathInvalidException,PathMismatchException,PathNotFoundException,PathTooDeepException,PlanningFailureException,PreparedStatementFailureException,PreviousOperationFailedException,QueryException,QuotaLimitedException,RangeScanPartitionFailedException,RateLimitedException,ReplicaNotAvailableException,ReplicaNotConfiguredException,RequestCanceledException,RetryAtrCommitException,RetryOperationException,RetryTransactionException,RollbackNotPermittedException,ScopeExistsException,ScopeNotFoundException,SecurityException,ServerOutOfMemoryException,ServiceNotAvailableException,TemporaryFailureException,TestFailAmbiguousException,TestFailHardException,TestFailOtherException,TestFailTransientException,ThreadStopRequestedException,TimeoutException,TooManyInstancesException,TracerException,TransactionAlreadyAbortedException,TransactionAlreadyCommittedException,TransactionOperationFailedException,UserNotFoundException,ValueInvalidException,ValueTooDeepException,ValueTooLargeException,ViewNotFoundException,ViewServiceException,XattrCannotModifyVirtualAttributeException,XattrInvalidFlagComboException,XattrInvalidKeyComboException,XattrInvalidOrderException,XattrNoAccessException,XattrUnknownMacroException,XattrUnknownVirtualAttributeException
The parent class for all exceptions created by this SDK (or clients using it).
- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.CouchbaseException(String message) CouchbaseException(String message, ErrorContext ctx) CouchbaseException(String message, Throwable cause) CouchbaseException(String message, Throwable cause, boolean enableSuppression, boolean writableStacktrace, ErrorContext ctx) CouchbaseException(String message, Throwable cause, ErrorContext ctx) CouchbaseException(Throwable cause) Deprecated. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
@Internal public CouchbaseException(String message, Throwable cause, boolean enableSuppression, boolean writableStacktrace, ErrorContext ctx) -
CouchbaseException
-
CouchbaseException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
context
Returns the error context, if present.
-