org.axonframework.common.annotation
Class MessageHandlerInvocationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
                  extended by 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

Constructor Summary
MessageHandlerInvocationException(String message, Throwable cause)
          Initialize the MessageHandlerInvocationException using given message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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


Copyright © 2010-2016. All Rights Reserved.