Uses of Class
com.couchbase.client.core.error.subdoc.SubDocumentException
-
Packages that use SubDocumentException Package Description com.couchbase.client.core.error.subdoc com.couchbase.client.core.io.netty.kv com.couchbase.client.core.msg.kv -
-
Uses of SubDocumentException in com.couchbase.client.core.error.subdoc
Subclasses of SubDocumentException in com.couchbase.client.core.error.subdoc Modifier and Type Class Description class
BadDeltaException
Subdocument exception thrown when the delta in an arithmetic operation (eg counter) is invalid.class
CannotInsertValueException
Subdocument exception thrown when the provided value cannot be inserted at the given path.class
DocumentNotJsonException
Subdocument exception thrown when the targeted enclosing document itself is not JSON.class
DocumentTooDeepException
Subdocument exception thrown when document is too deep to parse.class
MultiMutationException
Exception denoting that at least one error occurred when applying multiple mutations using the sub-document API.class
NumberTooBigException
Subdocument exception thrown when existing number value in document is too big.class
PathExistsException
Subdocument exception thrown when a path already exists and it shouldn'tclass
PathInvalidException
Subdocument exception thrown when path has a syntax error, or path syntax is incorrect for the operation (for example, if operation requires an array index).class
PathMismatchException
Subdocument 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).class
PathNotFoundException
Subdocument exception thrown when a path does not exist in the document.class
PathTooDeepException
Subdocument exception thrown when path is too deep to parse.class
ValueTooDeepException
Subdocument exception thrown when proposed value would make the document too deep to parse.class
XattrInvalidFlagComboException
Subdocument exception thrown when a macro has been requested when not using extended attributes.class
XattrUnknownMacroException
Subdocument exception thrown when a macro has been requested which is not recognised by the server. -
Uses of SubDocumentException in com.couchbase.client.core.io.netty.kv
Methods in com.couchbase.client.core.io.netty.kv that return SubDocumentException Modifier and Type Method Description static SubDocumentException
MemcacheProtocol. mapSubDocumentError(SubDocumentOpResponseStatus status, String path, String id)
For any response that can be returned by a SubDocument command - path, document, or execution-based - map it to an appropriate SubDocumentException. -
Uses of SubDocumentException in com.couchbase.client.core.msg.kv
Methods in com.couchbase.client.core.msg.kv that return types with arguments of type SubDocumentException Modifier and Type Method Description Optional<SubDocumentException>
SubdocField. error()
Optional<SubDocumentException>
SubdocGetResponse. error()
Error will be set, and should be checked and handled, when status==SUBDOC_FAILUREOptional<SubDocumentException>
SubdocMutateResponse. error()
Error will be set, and should be checked and handled, when status==SUBDOC_FAILUREConstructor parameters in com.couchbase.client.core.msg.kv with type arguments of type SubDocumentException Constructor Description SubdocField(SubDocumentOpResponseStatus status, Optional<SubDocumentException> error, byte[] value, String path, SubdocCommandType type)
SubdocGetResponse(ResponseStatus status, Optional<SubDocumentException> error, List<SubdocField> values, long cas)
SubdocMutateResponse(ResponseStatus status, Optional<SubDocumentException> error, List<SubdocField> values, long cas, Optional<MutationToken> mutationToken)
-