Exception | Description |
---|---|
BadDeltaException |
Subdocument exception thrown when the delta in an arithmetic operation (eg counter) is invalid.
|
CannotInsertValueException |
Subdocument exception thrown when the provided value cannot be inserted at the given path.
|
DocumentNotJsonException |
Subdocument exception thrown when the targeted enclosing document itself is not JSON.
|
DocumentTooDeepException |
Subdocument exception thrown when document is too deep to parse.
|
MultiMutationException |
Exception denoting that at least one error occurred when applying multiple mutations using the sub-document API (a
MutateInBuilder.execute() with at least two mutations). |
NumberTooBigException |
Subdocument exception thrown when existing number value in document is too big.
|
PathExistsException |
Subdocument exception thrown when a path already exists and it shouldn’t (for example, when using
MutateInBuilder.insert(String, Object, boolean) subdoc insert}). |
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).
|
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).
|
PathNotFoundException |
Subdocument exception thrown when a path does not exist in the document.
|
PathTooDeepException |
Subdocument exception thrown when path is too deep to parse.
|
SubDocumentException |
An abstract common class for all
CouchbaseException that relates to the sub-document feature. |
ValueTooDeepException |
Subdocument exception thrown when proposed value would make the document too deep to parse.
|
XattrOrderingException |
This exception is raised when non-xattr based commands are set before xattr-based ones.
|
Copyright © 2015 Couchbase, Inc.