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

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:
  • Constructor Details

    • CouchbaseException

      @Deprecated public CouchbaseException()
      Deprecated.
      Keeping it in there to not break left and right, but must be removed eventually to force good errors.
    • CouchbaseException

      @Deprecated public CouchbaseException(Throwable cause)
      Deprecated.
      Keeping it in there to not break left and right, but must be removed eventually to force good errors.
    • CouchbaseException

      public CouchbaseException(String message)
    • CouchbaseException

      public CouchbaseException(String message, ErrorContext ctx)
    • CouchbaseException

      @Internal public CouchbaseException(String message, Throwable cause, boolean enableSuppression, boolean writableStacktrace, ErrorContext ctx)
    • CouchbaseException

      public CouchbaseException(String message, Throwable cause)
    • CouchbaseException

      public CouchbaseException(String message, Throwable cause, ErrorContext ctx)
  • Method Details