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
public class LockAcquisitionFailedException
- extends AxonTransientException
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:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
LockAcquisitionFailedException
public LockAcquisitionFailedException(String message,
Throwable cause)
- Initialize the exception with given
message
and cause
- Parameters:
message
- The message describing the exceptioncause
- The underlying cause of the exception
LockAcquisitionFailedException
public LockAcquisitionFailedException(String message)
- Initialize the exception with given
message
.
- Parameters:
message
- The message describing the exception
Copyright © 2010-2016. All Rights Reserved.