Class PathExistsException
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.PathExistsException
- All Implemented Interfaces:
Serializable
@Committed @Public public class PathExistsException extends SubDocumentException
Subdocument exception thrown when a path already exists and it shouldn't
(for example, when using
MutateInBuilder.insert(String, Object, boolean)
subdoc insert}).- Since:
- 2.2
- Author:
- Simon Baslé
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PathExistsException(String reason)
PathExistsException(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
-
Constructor Details
-
PathExistsException
-
PathExistsException
-