org.axonframework.common.lock
Class DeadlockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
                  extended by org.axonframework.common.AxonTransientException
                      extended by org.axonframework.common.lock.LockAcquisitionFailedException
                          extended by 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

Constructor Summary
DeadlockException(String message)
          Initializes the exception with given message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeadlockException

public DeadlockException(String message)
Initializes the exception with given message.

Parameters:
message - The message describing the exception


Copyright © 2010-2016. All Rights Reserved.