Class ConflictingModificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.modelling.command.ConflictingModificationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConflictingAggregateVersionException
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConflictingModificationException(String message) Initializes the exception using the givenmessage.ConflictingModificationException(String message, Throwable cause) Initializes the exception using the givenmessageandcause. -
Method Summary
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOfMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConflictingModificationException
Initializes the exception using the givenmessage.- Parameters:
message- The message describing the exception
-
ConflictingModificationException
Initializes the exception using the givenmessageandcause.- Parameters:
message- The message describing the exceptioncause- The underlying cause of the exception
-