Class PathMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.couchbase.client.core.CouchbaseException
-
- com.couchbase.client.java.error.subdoc.SubDocumentException
-
- com.couchbase.client.java.error.subdoc.PathMismatchException
-
- All Implemented Interfaces:
Serializable
@Committed @Public public class PathMismatchException extends SubDocumentException
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).- Since:
- 2.2
- Author:
- Simon Baslé
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PathMismatchException(String reason)
PathMismatchException(String id, String path)
-
Method Summary
-
Methods inherited from class com.couchbase.client.core.CouchbaseException
details, details, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-