Class AggregateStreamCreationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.modelling.command.AggregateStreamCreationException
All Implemented Interfaces:
Serializable

public class AggregateStreamCreationException extends org.axonframework.common.AxonException
Exception indicating that concurrent access to a repository was detected. Most likely, two threads were using the same aggregate identifier to create an aggregate.
Since:
4.3
Author:
Lucas Campos
See Also:
  • Constructor Details

    • AggregateStreamCreationException

      public AggregateStreamCreationException(String message)
      Initialize the exception with the given message.
      Parameters:
      message - a detailed message of the cause of the exception
    • AggregateStreamCreationException

      public AggregateStreamCreationException(String message, Throwable cause)
      Initialize the exception with the given message and cause
      Parameters:
      message - a detailed message of the cause of the exception
      cause - the original cause of this exception