Class MessageHandlerInvocationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.messaging.core.annotation.MessageHandlerInvocationException
All Implemented Interfaces:
Serializable

public class MessageHandlerInvocationException extends AxonException
MessageHandlerInvocationException is a runtime exception that wraps an exception thrown by an invoked message handler.
Since:
2.1
Author:
Allard Buijze
See Also:
  • Constructor Details

    • MessageHandlerInvocationException

      public MessageHandlerInvocationException(String message, Throwable cause)
      Initialize the MessageHandlerInvocationException using given message and cause.
      Parameters:
      message - A message describing the cause of the exception
      cause - The exception thrown by the Event Handler