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
MessageHandlerInvocationException is a runtime exception that wraps an exception thrown by an invoked message
handler.
- Since:
- 2.1
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMessageHandlerInvocationException(String message, Throwable cause) Initialize the MessageHandlerInvocationException using givenmessageandcause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MessageHandlerInvocationException
Initialize the MessageHandlerInvocationException using givenmessageandcause.- Parameters:
message- A message describing the cause of the exceptioncause- The exception thrown by the Event Handler
-