public class LifecycleHandlerInvocationException extends AxonNonTransientException
StartHandler
,
ShutdownHandler
,
Serialized FormConstructor and Description |
---|
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. |
LifecycleHandlerInvocationException(String message)
Instantiates an exception using the given
message indicating a failure during a lifecycle handler method
invocation. |
LifecycleHandlerInvocationException(String message,
Throwable cause)
Instantiates an exception using the given
message and cause indicating a failure during a
lifecycle handler method invocation. |
isCauseOf
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LifecycleHandlerInvocationException(String message)
message
indicating a failure during a lifecycle handler method
invocation.message
- the message describing the exceptionpublic LifecycleHandlerInvocationException(Method lifecycleHandler, Object lifecycleComponent, Throwable cause)
lifecycleComponent
, lifecycleHandler
and cause
,
indicating a failure during a lifecycle handler method invocation.public LifecycleHandlerInvocationException(String message, Throwable cause)
message
and cause
indicating a failure during a
lifecycle handler method invocation.message
- the message describing the exceptioncause
- the underlying cause of the exceptionCopyright © 2010–2022. All rights reserved.