Package org.axonframework.common.lock
Class DeadlockException
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
org.axonframework.common.lock.DeadlockException
- All Implemented Interfaces:
Serializable
Exception indicating that a deadlock has been detected while a thread was attempting to acquire a lock. This
typically happens when a Thread attempts to acquire a lock that is owned by a Thread that is in turn waiting for a
lock held by the current thread.
It is typically safe to retry the operation when this exception occurs.
- Since:
- 2.0
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeadlockException(String message) Initializes the exception with givenmessage. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DeadlockException
Initializes the exception with givenmessage.- Parameters:
message- The message describing the exception
-