org.axonframework.repository
Class ConflictingModificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.repository.ConflictingModificationException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ConflictingAggregateVersionException
public class ConflictingModificationException
- extends AxonNonTransientException
Root of a hierarchy of exceptions indicating the detection of conflicting concurrent modifications. These conflicts
are typically detected when aggregates are loaded or saved while another action has made changes to them.
This exception is non-transient, meaning that the the exception will occur when retrying the action. Typically, user
interaction or confirmation is needed before the failed action can be retried.
- 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 |
ConflictingModificationException
public ConflictingModificationException(String message)
- Initializes the exception using the given
message
.
- Parameters:
message
- The message describing the exception
ConflictingModificationException
public ConflictingModificationException(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 © 2010-2016. All Rights Reserved.