Package com.couchbase.client.core.error
Class DocumentLockedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.couchbase.client.core.error.CouchbaseException
-
- com.couchbase.client.core.error.DocumentLockedException
-
- All Implemented Interfaces:
Serializable
public class DocumentLockedException extends CouchbaseException
Thrown when the server reports a temporary failure that is very likely to be lock-related (like an already locked key or a bad cas used for unlock).See this issue for an explanation of why this is only likely to be lock-related.
- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentLockedException(ErrorContext ctx)
DocumentLockedException(KeyValueErrorContext ctx)
-
Method Summary
-
Methods inherited from class com.couchbase.client.core.error.CouchbaseException
context, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DocumentLockedException
public DocumentLockedException(KeyValueErrorContext ctx)
-
DocumentLockedException
public DocumentLockedException(ErrorContext ctx)
-
-