Exception | Description |
---|---|
CannotInsertValueException |
Subdocument exception thrown when the provided value cannot be inserted at the given path.
|
DeltaTooBigException |
Subdocument exception thrown when the delta in an arithmetic operation (eg counter) would result in an out-of-range number (over
Long.MAX_VALUE or under Long.MIN_VALUE ). |
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.
|
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
insertIn ). |
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.
|
ZeroDeltaException |
Subdocument exception thrown when the delta value is zero in a counter operation.
|
Copyright © 2015 Couchbase, Inc.