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
public class IncompatibleAggregateException
- extends AxonNonTransientException
Exception indicating that an aggregate was not compatible with the requirements of the GenericAggregateFactory.
- Since:
- 0.5
- Author:
- Allard Buijze
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IncompatibleAggregateException
public IncompatibleAggregateException(String message,
Exception cause)
- Initialize the exception with given
message and cause.
- Parameters:
message - Message describing the reason the aggregate is not compatiblecause - The cause
IncompatibleAggregateException
public IncompatibleAggregateException(String message)
- Initialize the exception with given
message.
- Parameters:
message - Message describing the reason the aggregate is not compatible
Copyright © 2010-2016. All Rights Reserved.