Uses of Class
com.couchbase.client.core.error.CouchbaseException
Packages that use CouchbaseException
Package
Description
-
Uses of CouchbaseException in com.couchbase.client.core.env
Subclasses of CouchbaseException in com.couchbase.client.core.envModifier and TypeClassDescriptionclassThrown when an environment config property cannot be applied. -
Uses of CouchbaseException in com.couchbase.client.core.error
Subclasses of CouchbaseException in com.couchbase.client.core.errorModifier and TypeClassDescriptionclassThrown if a resource is already permanently terminated and tried to be used afterwards.classThis is a special case of the timeout exception, signaling that the timeout happened with an ambiguous cause.classThere was a problem fulfilling the analytics request.classEvery exception that has to do with authentication problems should either instantiate or subclass from this type.classclassclassException raised if during config load the bucket is not found (think: http 404).classclassException raised if during config load the bucket is found, but not deemed ready yet.classIndicates an optimistic locking failure.classclassclassThe query failed to compile.classclassThis is an internal exception the user should never see; The SDK should translate it to some other exception before presenting it to the user.classclassThe queried dataset is not found on the server.classclassclassRaised when provided content could not be successfully decoded.classclassThis exception is raised when the server fails to execute a DML query.classIndicates an operation failed because the key already exists.classThrown when the server reports a temporary failure that is very likely to be lock-related (like an already locked key or a bad cas used for unlock).classclassIndicates an operation failed because the key does not exist.classThrown when the server reports the document is already locked - generally raised when an unlocking operation is being performed.classIndicates an operation completed but no successful document was retrievable.classNaming TBD!classThe given durability requirements are currently impossible to achieve, as not enough configured replicas are currently available.classThis exception is raised when a durability level has been requested that is not available on the server.classReturned if an attempt is made to mutate a key which already has a durable write pending.classThe requested key has a SyncWrite which is being re-committed.classRaised when provided content could not be successfully encoded.classRaised if the eventing function failed to compile on the server.classRaised if the eventing function is currently deployed.classRaised if the source and metadata keyspace are the same.classRaised if the eventing function is not bootstrapped at the time of request.classRaised if the eventing function is not deployed.classRaised if the eventing function is not found.classException which states that the feature is not available for the bucket.classException thrown if global configs are supported but the server tells the client that there is currently non available.classclassclassclassIndicates an operation failed because there has been an issue with the query planner or similar.classclassIndicates an operation failed because there has been an internal error in the server.classclassclassIndicates the analytics server job queue is fullclassclassclassGeneric exception that captures all meter-related errors.classclassclassRaised when a requested subdoc operation does not exist.classIndicates an operation failed because parsing of the input returned with an error.classIndicates an operation failed because there has been an issue with the query planner.classIndicates an operation failed because there has been an issue with query prepared statements.classDeprecated.The SDK never throws this exception.classThis error is raised if the operation failed due to hitting a quota-limit on the server side.classThis is an internal exception used to signal exceptional states in the range scan orchestrator.classThis error is raised if the operation failed due to hitting a rate-limit on the server side.classclassclassclassclassclassclassUsed to signal that the seed node used for an operation is outdated and might need to be refreshed.classThrown when Couchbase Server returns with an Out of Memory error.classException which states that the service is not available for the bucket.classThrown when the server reports a temporary failure.classTheTimeoutExceptionsignals that an operation timed out before it could be completed.classRaised if more SDK instances are created than allowed in configuration.classGeneric exception that captures all tracer-related errors.classThis is a special case of the timeout exception, signaling that the timeout happened with no ambiguous cause.classclassclassThrown when the request is too big for some reason.classclassThere was a problem fulfilling the view request.Methods in com.couchbase.client.core.error that return CouchbaseExceptionModifier and TypeMethodDescriptionstatic CouchbaseExceptionDefaultErrorUtil.keyValueStatusToException(KeyValueRequest<? extends Response> request, Response response) Maps common KV response status codes to their corresponding user-level exceptions.static CouchbaseExceptionDefaultErrorUtil.keyValueStatusToException(KeyValueRequest<? extends Response> request, ResponseStatus status, KeyValueErrorContext ctx, String defaultErrorString) static CouchbaseExceptionFeatureNotAvailableException.queryUseReplica(String message) static CouchbaseExceptionFeatureNotAvailableException.subdocReadReplica() -
Uses of CouchbaseException in com.couchbase.client.core.error.subdoc
Subclasses of CouchbaseException in com.couchbase.client.core.error.subdocModifier and TypeClassDescriptionclassSubdocument exception thrown when the delta in an arithmetic operation (eg counter) is invalid.classSub-Document exception thrown when ReviveDocument has been used with a document that already existsclassSubdocument exception thrown when the targeted enclosing document itself is not JSON.classSubdocument exception thrown when document is too deep to parse.classSubdocument exception thrown when existing number value in document is too big.classSubdocument exception thrown when a path already exists and it shouldn'tclassSubdocument exception thrown when path has a syntax error, or path syntax is incorrect for the operation (for example, if operation requires an array index).classSubdocument exception thrown when the path structure conflicts with the document structure (for example, if a path mentions foo.bar[0].baz, but foo.bar is actually a JSON object).classSubdocument exception thrown when a path does not exist in the document.classSubdocument exception thrown when path is too deep to parse.classSubdocument exception thrown when the provided value cannot be inserted at the given path.classSubdocument exception thrown when proposed value would make the document too deep to parse.classSubdocument exception thrown when the virtual attribute cannot be modified.classDeprecated.classSubdocument exception thrown when more than one xattr key has been requested.classDeprecated.classSubdocument exception thrown when an extended attribute cannot be accessed.classSubdocument exception thrown when a macro has been requested which is not recognised by the server.classSubdocument exception thrown when a virtual attribute has been requested which is not recognised by the server. -
Uses of CouchbaseException in com.couchbase.client.core.error.transaction
Subclasses of CouchbaseException in com.couchbase.client.core.error.transactionModifier and TypeClassDescriptionclassclassclassclassclassQuery does not recognise the passed txid.classThe transaction is not allowed to commit in the current state.classConcurrent Key-Value operations on the same document have been detected.classclassThis transaction has been prevented from interacting with documents or metadata owned by another transaction, due to compatibility issues.classA previous operation in the application's lambda failed, and so the currently-attempt operation is also not permitted to proceed.classIndicates that this transaction should be retried.classThe transaction is not allowed to rollback in the current state.classclassclassThis operation (such as a replace, get or insert) either failed or ambiguously succeeded. -
Uses of CouchbaseException in com.couchbase.client.core.error.transaction.internal
Subclasses of CouchbaseException in com.couchbase.client.core.error.transaction.internalModifier and TypeClassDescriptionclassThe transaction expired at the point of trying to commit it.classThe transaction could not be fully completed in the configured timeout.classThe transaction failed to reach the Committed point.classclassIndicates that committing the ATR entry should be retried.classIndicates that this operation should be retried.classUsed only in testing: injects an error that will be handled as FAIL_AMBIGUOUS.classUsed only in testing: injects an error that will be handled as FAIL_HARD.classUsed only in testing: injects an error that will be handled as FAIL_OTHER.classUsed only in testing: injects a FAIL_TRANSIENT error.class -
Uses of CouchbaseException in com.couchbase.client.core.io.netty.analytics
Methods in com.couchbase.client.core.io.netty.analytics that return types with arguments of type CouchbaseExceptionMethods in com.couchbase.client.core.io.netty.analytics with parameters of type CouchbaseExceptionModifier and TypeMethodDescriptionprotected Optional<RetryReason> AnalyticsMessageHandler.qualifiesForRetry(CouchbaseException exception) -
Uses of CouchbaseException in com.couchbase.client.core.io.netty.chunk
Methods in com.couchbase.client.core.io.netty.chunk that return types with arguments of type CouchbaseExceptionModifier and TypeMethodDescriptionBaseChunkResponseParser.decodingFailure()ChunkResponseParser.decodingFailure()If the parser fails due to malformed input the cause is returned here.ChunkResponseParser.error()If the parser sees an error, it should fill this optional so that if the IO layer needs to fail the topmost future it will be passed in.Methods in com.couchbase.client.core.io.netty.chunk with parameters of type CouchbaseExceptionModifier and TypeMethodDescriptionprotected Optional<RetryReason> ChunkedMessageHandler.qualifiesForRetry(CouchbaseException exception) Can be implemented by children to not fail a request but rather send it into retry. -
Uses of CouchbaseException in com.couchbase.client.core.io.netty.kv
Methods in com.couchbase.client.core.io.netty.kv that return CouchbaseExceptionModifier and TypeMethodDescriptionstatic CouchbaseExceptionMemcacheProtocol.mapSubDocumentError(KeyValueRequest<?> request, SubDocumentOpResponseStatus status, String path, int index, MemcacheProtocol.FlexibleExtras flexibleExtras) For any response that can be returned by a SubDocument command - path, document, or execution-based - map it to an appropriate SubDocumentException. -
Uses of CouchbaseException in com.couchbase.client.core.io.netty.query
Methods in com.couchbase.client.core.io.netty.query that return types with arguments of type CouchbaseExceptionMethods in com.couchbase.client.core.io.netty.query with parameters of type CouchbaseExceptionModifier and TypeMethodDescriptionprotected Optional<RetryReason> QueryMessageHandler.qualifiesForRetry(CouchbaseException exception) -
Uses of CouchbaseException in com.couchbase.client.core.io.netty.search
Methods in com.couchbase.client.core.io.netty.search that return types with arguments of type CouchbaseException -
Uses of CouchbaseException in com.couchbase.client.core.io.netty.view
Methods in com.couchbase.client.core.io.netty.view that return types with arguments of type CouchbaseException -
Uses of CouchbaseException in com.couchbase.client.core.json
Subclasses of CouchbaseException in com.couchbase.client.core.jsonModifier and TypeClassDescriptionclassThis exception is usually raised when a JSON encoding or decoding was not successful. -
Uses of CouchbaseException in com.couchbase.client.core.msg.kv
Methods in com.couchbase.client.core.msg.kv that return CouchbaseExceptionModifier and TypeMethodDescriptionstatic CouchbaseExceptionSubdocUtil.handleNonFieldLevelErrors(BaseKeyValueRequest<?> request, short status, MemcacheProtocol.FlexibleExtras flexibleExtras, String serverError) These are errors that will result in the mutateIn or lookupIn call failing with an exception.SubdocMutateResponse.throwError(SubdocMutateRequest request, boolean insertDocument) Methods in com.couchbase.client.core.msg.kv that return types with arguments of type CouchbaseExceptionModifier and TypeMethodDescriptionSubdocGetResponse.error()A top-level exception that will be thrown from the lookupIn() call.SubdocMutateResponse.error()A top-level exception that will be thrown from the mutateIn() call.SubDocumentField.error()Constructor parameters in com.couchbase.client.core.msg.kv with type arguments of type CouchbaseExceptionModifierConstructorDescriptionSubdocGetResponse(ResponseStatus status, Optional<CouchbaseException> error, SubDocumentField[] values, long cas, boolean isDeleted, MemcacheProtocol.FlexibleExtras flexibleExtras) SubdocMutateResponse(ResponseStatus status, Optional<CouchbaseException> error, SubDocumentField[] values, long cas, Optional<MutationToken> mutationToken, MemcacheProtocol.FlexibleExtras flexibleExtras) SubDocumentField(SubDocumentOpResponseStatus status, Optional<CouchbaseException> error, byte[] value, String path, SubdocCommandType type)