Class PathInvalidException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.error.CouchbaseException
com.couchbase.client.core.error.subdoc.PathInvalidException
- All Implemented Interfaces:
Serializable
public class PathInvalidException extends CouchbaseException
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).
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PathInvalidException(String message, SubDocumentErrorContext ctx) -
Method Summary
Modifier and Type Method Description SubDocumentErrorContextcontext()Returns the error context, if present.Methods inherited from class com.couchbase.client.core.error.CouchbaseException
toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
PathInvalidException
-
-
Method Details
-
context
Description copied from class:CouchbaseExceptionReturns the error context, if present.- Overrides:
contextin classCouchbaseException
-