Package org.axonframework.common.lock
Class LockAcquisitionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonTransientException
org.axonframework.common.lock.LockAcquisitionFailedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DeadlockException
Exception indicating that a lock could not be obtained. Typically, operations failing with this exception can be
retried without any intervention.
- Since:
- 2.0
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLockAcquisitionFailedException(String message) Initialize the exception with givenmessage.LockAcquisitionFailedException(String message, Throwable cause) Initialize the exception with givenmessageandcause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LockAcquisitionFailedException
Initialize the exception with givenmessageandcause- Parameters:
message- The message describing the exceptioncause- The underlying cause of the exception
-
LockAcquisitionFailedException
Initialize the exception with givenmessage.- Parameters:
message- The message describing the exception
-