Package org.axonframework.eventsourcing
Class IncompatibleAggregateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.eventsourcing.IncompatibleAggregateException
- All Implemented Interfaces:
Serializable
Exception indicating that an aggregate was not compatible with the requirements of the
GenericAggregateFactory.- Since:
- 0.5
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIncompatibleAggregateException(String message) Initialize the exception with givenmessage.IncompatibleAggregateException(String message, Exception cause) Initialize the exception with 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
-
IncompatibleAggregateException
Initialize the exception with givenmessageandcause.- Parameters:
message- Message describing the reason the aggregate is not compatiblecause- The cause
-
IncompatibleAggregateException
Initialize the exception with givenmessage.- Parameters:
message- Message describing the reason the aggregate is not compatible
-