Package com.couchbase.client.java.error
Class TemporaryLockFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.CouchbaseException
com.couchbase.client.java.error.TemporaryLockFailureException
- All Implemented Interfaces:
Serializable
public class TemporaryLockFailureException extends CouchbaseException
Thrown when the server reports a temporary failure and it
is very likely to be lock-related (like an already locked
key or a bad cas used for unlock).
This is exception is very likely retryable.
See this issue
for a explanation of why this is only likely to be lock-related.
- Since:
- 2.1.1
- Author:
- Simon Baslé
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description TemporaryLockFailureException()
TemporaryLockFailureException(String message)
TemporaryLockFailureException(String message, Throwable cause)
TemporaryLockFailureException(Throwable cause)
-
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
-
TemporaryLockFailureException
public TemporaryLockFailureException() -
TemporaryLockFailureException
-
TemporaryLockFailureException
-
TemporaryLockFailureException
-