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
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 Summary
ConstructorsConstructorDescriptionAggregateStreamCreationException(String message) Initialize the exception with the givenmessage.AggregateStreamCreationException(String message, Throwable cause) Initialize the exception with the givenmessageandcause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AggregateStreamCreationException
Initialize the exception with the givenmessage.- Parameters:
message- a detailed message of the cause of the exception
-
AggregateStreamCreationException
Initialize the exception with the givenmessageandcause- Parameters:
message- a detailed message of the cause of the exceptioncause- the original cause of this exception
-