org.axonframework.common.lock
Class LockAcquisitionFailedException

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
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

Constructor Summary
LockAcquisitionFailedException(String message)
          Initialize the exception with given message.
LockAcquisitionFailedException(String message, Throwable cause)
          Initialize the exception with given message and cause
 
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

LockAcquisitionFailedException

public LockAcquisitionFailedException(String message,
                                      Throwable cause)
Initialize the exception with given message and cause

Parameters:
message - The message describing the exception
cause - 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.