Class 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:
  • Constructor Details

    • 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 exception
      cause - The underlying cause of the exception