org.axonframework.common.lock
Class IllegalLockUsageException

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.AxonNonTransientException
                      extended by org.axonframework.common.lock.IllegalLockUsageException
All Implemented Interfaces:
Serializable

public class IllegalLockUsageException
extends AxonNonTransientException

Exception indicating that an illegal use of a lock was detect (e.g. releasing a lock that wasn't previously obtained)

Typically, operations failing with this exception cannot be retried without the application taking appropriate measures first.

Since:
2.0
Author:
Allard Buijze
See Also:
Serialized Form

Constructor Summary
IllegalLockUsageException(String message)
          Initialize the exception with given message.
IllegalLockUsageException(String message, Throwable cause)
          Initialize the exception with given message and cause
 
Method Summary
 
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOf
 
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

IllegalLockUsageException

public IllegalLockUsageException(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

IllegalLockUsageException

public IllegalLockUsageException(String message)
Initialize the exception with given message.

Parameters:
message - The message describing the exception


Copyright © 2010-2016. All Rights Reserved.