org.axonframework.common.lock
Class IllegalLockUsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalLockUsageException
public IllegalLockUsageException(String message,
Throwable cause)
- Initialize the exception with given
message
and cause
- Parameters:
message
- The message describing the exceptioncause
- 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.