Package com.couchbase.client.core.error
Class TemporaryLockFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.couchbase.client.core.error.CouchbaseException
-
- com.couchbase.client.core.error.TemporaryLockFailureException
-
- All Implemented Interfaces:
RetryableOperationException
,Serializable
public class TemporaryLockFailureException extends CouchbaseException implements RetryableOperationException
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.
This exception has been ported from the java client into core as part of the refactoring.
- Since:
- 2.0.0
- 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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TemporaryLockFailureException
public TemporaryLockFailureException()
-
TemporaryLockFailureException
public TemporaryLockFailureException(String message)
-
TemporaryLockFailureException
public TemporaryLockFailureException(String message, Throwable cause)
-
TemporaryLockFailureException
public TemporaryLockFailureException(Throwable cause)
-
-