org.axonframework.eventhandling.annotation
Class EventHandlerInvocationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.util.AxonException
                  extended by org.axonframework.eventhandling.annotation.EventHandlerInvocationException
All Implemented Interfaces:
Serializable

public class EventHandlerInvocationException
extends AxonException

EventHandlerInvocationException is a runtime exception that wraps an exception thrown by an invoked event handler.

Since:
0.5
Author:
Allard Buijze
See Also:
Serialized Form

Constructor Summary
EventHandlerInvocationException(String message, Throwable cause)
          Initialize the EventHandlerInvocationException 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

EventHandlerInvocationException

public EventHandlerInvocationException(String message,
                                       Throwable cause)
Initialize the EventHandlerInvocationException using given message and cause.

Parameters:
message - A message describing the cause of the exception
cause - The exception thrown by the Event Handler


Copyright © 2011. All Rights Reserved.