Package org.axonframework.lifecycle
Class LifecycleHandlerInvocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.lifecycle.LifecycleHandlerInvocationException
- All Implemented Interfaces:
Serializable
Exception indicating a failure occurred during a lifecycle handler method invocation.
- Since:
- 4.3
- Author:
- Steven van Beelen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLifecycleHandlerInvocationException(Method lifecycleHandler, Object lifecycleComponent, Throwable cause) Instantiates an exception using the givenlifecycleComponent,lifecycleHandlerandcause, indicating a failure during a lifecycle handler method invocation.Instantiates an exception using the givenmessageindicating a failure during a lifecycle handler method invocation.LifecycleHandlerInvocationException(String message, Throwable cause) Instantiates an exception using the givenmessageandcauseindicating a failure during a lifecycle handler method invocation. -
Method Summary
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOfMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LifecycleHandlerInvocationException
Instantiates an exception using the givenmessageindicating 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 givenlifecycleComponent,lifecycleHandlerandcause, indicating a failure during a lifecycle handler method invocation. -
LifecycleHandlerInvocationException
Instantiates an exception using the givenmessageandcauseindicating a failure during a lifecycle handler method invocation.- Parameters:
message- the message describing the exceptioncause- the underlying cause of the exception
-