Class LifecycleHandlerInvocationException

All Implemented Interfaces:
Serializable

public class LifecycleHandlerInvocationException extends AxonNonTransientException
Exception indicating a failure occurred during a lifecycle handler method invocation.
Since:
4.3
Author:
Steven van Beelen
See Also:
  • Constructor Details

    • LifecycleHandlerInvocationException

      public LifecycleHandlerInvocationException(String message)
      Instantiates an exception using the given message indicating a failure during a lifecycle handler method invocation.
      Parameters:
      message - the message describing the exception
    • LifecycleHandlerInvocationException

      public LifecycleHandlerInvocationException(Method lifecycleHandler, Object lifecycleComponent, Throwable cause)
      Instantiates an exception using the given lifecycleComponent, lifecycleHandler and cause, indicating a failure during a lifecycle handler method invocation.
      Parameters:
      lifecycleHandler - the Method in question which failed
      lifecycleComponent - the Object of which the given lifecycleHandler was invoked exceptionally
      cause - the underlying cause of the exception
    • LifecycleHandlerInvocationException

      public LifecycleHandlerInvocationException(String message, Throwable cause)
      Instantiates an exception using the given message and cause indicating a failure during a lifecycle handler method invocation.
      Parameters:
      message - the message describing the exception
      cause - the underlying cause of the exception