org.axonframework.repository
Class ConcurrencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonTransientException
org.axonframework.repository.ConcurrencyException
- All Implemented Interfaces:
- Serializable
public class ConcurrencyException
- extends AxonTransientException
Exception indicating that concurrent access to a repository was detected. Most likely, two threads were modifying
the
same aggregate.
- Since:
- 0.3
- 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 |
ConcurrencyException
public ConcurrencyException(String message)
- Initialize a ConcurrencyException with the given
message
.
- Parameters:
message
- The message describing the cause of the exception
ConcurrencyException
public ConcurrencyException(String message,
Throwable cause)
- Initialize a ConcurrencyException with the given
message
and cause
.
- Parameters:
message
- The message describing the cause of the exceptioncause
- The cause of the exception
Copyright © 2010-2016. All Rights Reserved.