Exception Summary Exception Description BadDeltaExceptionSubdocument exception thrown when the delta in an arithmetic operation (eg counter) is invalid. CannotInsertValueExceptionSubdocument exception thrown when the provided value cannot be inserted at the given path. DocumentNotJsonExceptionSubdocument exception thrown when the targeted enclosing document itself is not JSON. DocumentTooDeepExceptionSubdocument exception thrown when document is too deep to parse. MultiMutationExceptionException denoting that at least one error occurred when applying multiple mutations using the sub-document API (a
MutateInBuilder.execute()with at least two mutations).
NumberTooBigExceptionSubdocument exception thrown when existing number value in document is too big. PathExistsExceptionSubdocument exception thrown when a path already exists and it shouldn't (for example, when using
MutateInBuilder.insert(String, Object, boolean)subdoc insert}).
PathInvalidExceptionSubdocument exception thrown when path has a syntax error, or path syntax is incorrect for the operation (for example, if operation requires an array index). PathMismatchExceptionSubdocument exception thrown when the path structure conflicts with the document structure (for example, if a path mentions foo.bar.baz, but foo.bar is actually a JSON object). PathNotFoundExceptionSubdocument exception thrown when a path does not exist in the document. PathTooDeepExceptionSubdocument exception thrown when path is too deep to parse. SubDocumentExceptionAn abstract common class for all
CouchbaseExceptionthat relates to the sub-document feature.
ValueTooDeepExceptionSubdocument exception thrown when proposed value would make the document too deep to parse. XattrOrderingExceptionThis exception is raised when non-xattr based commands are set before xattr-based ones.