Class 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:
  • Constructor Details

    • 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 compatible
      cause - The cause
    • IncompatibleAggregateException

      public IncompatibleAggregateException(String message)
      Initialize the exception with given message.
      Parameters:
      message - Message describing the reason the aggregate is not compatible