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