Class AggregateInvocationException

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

public class AggregateInvocationException extends org.axonframework.common.AxonException
Exception thrown when an invocation on a method of an aggregate gives rise to an exception.
See Also:
  • Constructor Details

    • AggregateInvocationException

      public AggregateInvocationException(String message, Throwable cause)
      Initializes the exception using the given message and cause.
      Parameters:
      message - The message describing the exception
      cause - The underlying cause of the exception