Uses of Class
com.couchbase.client.core.error.CouchbaseException
-
-
Uses of CouchbaseException in com.couchbase.client.core.env
Subclasses of CouchbaseException in com.couchbase.client.core.env Modifier and Type Class Description classInvalidPropertyExceptionThrown 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.error Modifier and Type Class Description classAlreadyShutdownExceptionThrown if a resource is already permanently terminated and tried to be used afterwards.classAmbiguousTimeoutExceptionThis is a special case of the timeout exception, signaling that the timeout happened with an ambiguous cause.classAnalyticsExceptionThere was a problem fulfilling the analytics request.classAuthenticationFailureExceptionEvery exception that has to do with authentication problems should either instantiate or subclass from this type.classBucketExistsExceptionclassBucketNotFlushableExceptionclassBucketNotFoundDuringLoadExceptionException raised if during config load the bucket is not found (think: http 404).classBucketNotFoundExceptionclassBucketNotReadyDuringLoadExceptionException raised if during config load the bucket is found, but not deemed ready yet.classCasMismatchExceptionIndicates an optimistic locking failure.classCollectionExistsExceptionclassCollectionNotFoundExceptionclassCompilationFailureExceptionThe query failed to compile.classConfigExceptionclassDatasetExistsExceptionclassDatasetNotFoundExceptionThe queried dataset is not found on the server.classDataverseExistsExceptionclassDataverseNotFoundExceptionclassDecodingFailureExceptionRaised when provided content could not be successfully decoded.classDesignDocumentNotFoundExceptionclassDmlFailureExceptionThis exception is raised when the server fails to execute a DML query.classDocumentExistsExceptionIndicates an operation failed because the key already exists.classDocumentLockedExceptionThrown 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).classDocumentMutationLostExceptionclassDocumentNotFoundExceptionIndicates an operation failed because the key does not exist.classDocumentUnretrievableExceptionIndicates an operation completed but no successful document was retrievable.classDurabilityAmbiguousExceptionNaming TBD! The synchronous replication durability work can return an ambiguous error (or we timeout waiting for the response, which is effectively the same).classDurabilityImpossibleExceptionThe given durability requirements are currently impossible to achieve, as not enough configured replicas are currently available.classDurabilityLevelNotAvailableExceptionThis exception is raised when a durability level has been requested that is not available on the server.classDurableWriteInProgressExceptionReturned if an attempt is made to mutate a key which already has a durable write pending.classDurableWriteReCommitInProgressExceptionThe requested key has a SyncWrite which is being re-committed.classEncodingFailureExceptionRaised when provided content could not be successfully encoded.classEventingFunctionCompilationFailureExceptionRaised if the eventing function failed to compile on the server.classEventingFunctionDeployedExceptionRaised if the eventing function is currently deployed.classEventingFunctionIdenticalKeyspaceExceptionRaised if the source and metadata keyspace are the same.classEventingFunctionNotBootstrappedExceptionRaised if the eventing function is not bootstrapped at the time of request.classEventingFunctionNotDeployedExceptionRaised if the eventing function is not deployed.classEventingFunctionNotFoundExceptionRaised if the eventing function is not found.classFeatureNotAvailableExceptionException which states that the feature is not available for the bucket.classGlobalConfigNotFoundExceptionException thrown if global configs are supported but the server tells the client that there is currently non available.classGroupNotFoundExceptionclassHttpStatusCodeExceptionclassIndexExistsExceptionclassIndexFailureExceptionIndicates an operation failed because there has been an issue with the query planner or similar.classIndexNotFoundExceptionclassInternalServerFailureExceptionIndicates an operation failed because there has been an internal error in the server.classInvalidArgumentExceptionclassJobQueueFullExceptionIndicates the analytics server job queue is fullclassLinkExistsExceptionclassLinkNotFoundExceptionclassMeterExceptionGeneric exception that captures all meter-related errors.classOperationDoesNotExistRaised when a requested subdoc operation does not exist.classParsingFailureExceptionIndicates an operation failed because parsing of the input returned with an error.classPlanningFailureExceptionIndicates an operation failed because there has been an issue with the query planner.classPreparedStatementFailureExceptionIndicates an operation failed because there has been an issue with query prepared statements.classQueryExceptionThere was a problem fulfilling the query request.classReplicaNotAvailableExceptionclassReplicaNotConfiguredExceptionclassRequestCanceledExceptionclassScopeExistsExceptionclassScopeNotFoundExceptionclassSecurityExceptionclassSeedNodeOutdatedExceptionUsed to signal that the seed node used for an operation is outdated and might need to be refreshed.classServerOutOfMemoryExceptionThrown when Couchbase Server returns with an Out of Memory error.classServiceNotAvailableExceptionException which states that the service is not available for the bucket.classTemporaryFailureExceptionThrown when the server reports a temporary failure.classTimeoutExceptionTheTimeoutExceptionsignals that an operation timed out before it could be completed.classTracerExceptionGeneric exception that captures all tracer-related errors.classUnambiguousTimeoutExceptionThis is a special case of the timeout exception, signaling that the timeout happened with no ambiguous cause.classUnsupportedConfigMechanismExceptionclassUserNotFoundExceptionclassValueTooLargeExceptionThrown when the request is too big for some reason.classViewNotFoundExceptionclassViewServiceExceptionThere was a problem fulfilling the view request.Methods in com.couchbase.client.core.error that return CouchbaseException Modifier and Type Method Description static CouchbaseExceptionDefaultErrorUtil. keyValueStatusToException(KeyValueRequest<? extends Response> request, Response response)Maps common KV response status codes to their corresponding user-level exceptions. -
Uses of CouchbaseException in com.couchbase.client.core.error.subdoc
Subclasses of CouchbaseException in com.couchbase.client.core.error.subdoc Modifier and Type Class Description classDeltaInvalidExceptionSubdocument exception thrown when the delta in an arithmetic operation (eg counter) is invalid.classDocumentNotJsonExceptionSubdocument exception thrown when the targeted enclosing document itself is not JSON.classDocumentTooDeepExceptionSubdocument exception thrown when document is too deep to parse.classNumberTooBigExceptionSubdocument exception thrown when existing number value in document is too big.classPathExistsExceptionSubdocument exception thrown when a path already exists and it shouldn'tclassPathInvalidExceptionSubdocument exception thrown when path has a syntax error, or path syntax is incorrect for the operation (for example, if operation requires an array index).classPathMismatchExceptionSubdocument 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).classPathNotFoundExceptionSubdocument exception thrown when a path does not exist in the document.classPathTooDeepExceptionSubdocument exception thrown when path is too deep to parse.classValueInvalidExceptionSubdocument exception thrown when the provided value cannot be inserted at the given path.classValueTooDeepExceptionSubdocument exception thrown when proposed value would make the document too deep to parse.classXattrCannotModifyVirtualAttributeExceptionSubdocument exception thrown when the virtual attribute cannot be modified.classXattrInvalidFlagComboExceptionDeprecated.classXattrInvalidKeyComboExceptionSubdocument exception thrown when more than one xattr key has been requested.classXattrInvalidOrderExceptionDeprecated.classXattrNoAccessExceptionSubdocument exception thrown when an extended attribute cannot be accessed.classXattrUnknownMacroExceptionSubdocument exception thrown when a macro has been requested which is not recognised by the server.classXattrUnknownVirtualAttributeExceptionSubdocument exception thrown when a virtual attribute has been requested which is not recognised by the server. -
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 CouchbaseException Modifier and Type Method Description Optional<CouchbaseException>AnalyticsChunkResponseParser. error()Methods in com.couchbase.client.core.io.netty.analytics with parameters of type CouchbaseException Modifier and Type Method Description protected 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 CouchbaseException Modifier and Type Method Description Optional<CouchbaseException>BaseChunkResponseParser. decodingFailure()Optional<CouchbaseException>ChunkResponseParser. decodingFailure()If the parser fails due to malformed input the cause is returned here.Optional<CouchbaseException>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 CouchbaseException Modifier and Type Method Description protected 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 CouchbaseException Modifier and Type Method Description static CouchbaseExceptionMemcacheProtocol. mapSubDocumentError(KeyValueRequest<?> request, SubDocumentOpResponseStatus status, String path, int index)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 CouchbaseException Modifier and Type Method Description Optional<CouchbaseException>QueryChunkResponseParser. error()Methods in com.couchbase.client.core.io.netty.query with parameters of type CouchbaseException Modifier and Type Method Description protected 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 Modifier and Type Method Description Optional<CouchbaseException>SearchChunkResponseParser. error() -
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 Modifier and Type Method Description Optional<CouchbaseException>ViewChunkResponseParser. error() -
Uses of CouchbaseException in com.couchbase.client.core.json
Subclasses of CouchbaseException in com.couchbase.client.core.json Modifier and Type Class Description classMapperExceptionThis 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 types with arguments of type CouchbaseException Modifier and Type Method Description Optional<CouchbaseException>SubdocGetResponse. error()Error will be set, and should be checked and handled, when status==SUBDOC_FAILUREOptional<CouchbaseException>SubdocMutateResponse. error()Error will be set, and should be checked and handled, when status==SUBDOC_FAILUREOptional<CouchbaseException>SubDocumentField. error()Constructor parameters in com.couchbase.client.core.msg.kv with type arguments of type CouchbaseException Constructor Description SubdocGetResponse(ResponseStatus status, Optional<CouchbaseException> error, SubDocumentField[] values, long cas, boolean isDeleted)SubdocMutateResponse(ResponseStatus status, Optional<CouchbaseException> error, SubDocumentField[] values, long cas, Optional<MutationToken> mutationToken)SubDocumentField(SubDocumentOpResponseStatus status, Optional<CouchbaseException> error, byte[] value, String path, SubdocCommandType type)
-