Class XattrNoAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.error.CouchbaseException
com.couchbase.client.core.error.subdoc.XattrNoAccessException
- All Implemented Interfaces:
Serializable
public class XattrNoAccessException extends CouchbaseException
Subdocument exception thrown when an extended attribute cannot be accessed.
Usually indicates the attribute is a "system attribute" (name starts with underscore).
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description XattrNoAccessException(SubDocumentErrorContext ctx)
-
Method Summary
Modifier and Type Method Description SubDocumentErrorContext
context()
Returns the error context, if present.Methods inherited from class com.couchbase.client.core.error.CouchbaseException
toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
XattrNoAccessException
-
-
Method Details
-
context
Description copied from class:CouchbaseException
Returns the error context, if present.- Overrides:
context
in classCouchbaseException
-