org.axonframework.repository
Class ConflictingAggregateVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.util.AxonException
org.axonframework.util.AxonNonTransientException
org.axonframework.repository.ConflictingModificationException
org.axonframework.repository.ConflictingAggregateVersionException
- All Implemented Interfaces:
- Serializable
public class ConflictingAggregateVersionException
- extends ConflictingModificationException
Exception indicating that the version of a loaded aggregate did not match the given expected version number. This
typically means that the aggregate has been modified by another thread between the moment data was queried, and the
command modifying the aggregate was handled.
- Since:
- 0.6
- 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 |
ConflictingAggregateVersionException
public ConflictingAggregateVersionException(String message)
- Initializes the exception using the given
message.
- Parameters:
message - The message describing the exception
ConflictingAggregateVersionException
public ConflictingAggregateVersionException(String message,
Throwable cause)
- Initializes the exception using the given
message and cause.
- Parameters:
message - The message describing the exceptioncause - The underlying cause of the exception
Copyright © 2011. All Rights Reserved.