Class LockCurrentlyUnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.services.dynamodbv2.model.LockCurrentlyUnavailableException
-
- All Implemented Interfaces:
Serializable
public class LockCurrentlyUnavailableException extends RuntimeException
This is a retry-able exception, that indicates that the lock being requested has already been held by another worker and has not been released yet and the lease duration has not expired since the lock was last updated by the current owner. The caller can retry acquiring the lock with or without a backoff.- Author:
- Sathish kumar AC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LockCurrentlyUnavailableException()LockCurrentlyUnavailableException(String message)LockCurrentlyUnavailableException(String message, Throwable cause)LockCurrentlyUnavailableException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)LockCurrentlyUnavailableException(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
-
LockCurrentlyUnavailableException
public LockCurrentlyUnavailableException()
-
LockCurrentlyUnavailableException
public LockCurrentlyUnavailableException(String message)
-
LockCurrentlyUnavailableException
public LockCurrentlyUnavailableException(Throwable cause)
-
LockCurrentlyUnavailableException
public LockCurrentlyUnavailableException(String message, Throwable cause)
-
-