Class 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 entity.
Since:
0.3.0
Author:
Allard Buijze
See Also:
  • Constructor Details

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