org.axonframework.common.annotation
Class MessageHandlerInvocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.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:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MessageHandlerInvocationException
public MessageHandlerInvocationException(String message,
Throwable cause)
- Initialize the MessageHandlerInvocationException using given
message
and cause
.
- Parameters:
message
- A message describing the cause of the exceptioncause
- The exception thrown by the Event Handler
Copyright © 2010-2016. All Rights Reserved.