Class WorkflowExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.axoniq.framework.workflow.dsl.api.WorkflowExecutionException
- All Implemented Interfaces:
Cause,Serializable
Stackless
RuntimeException produced when a WorkflowError is rehydrated from an event payload.
Carries the fully-qualified class name of the originating throwable via type() fillInStackTrace()
is overridden to avoid capturing a stack trace at the reconstruction site
- Since:
- 5.4.0
- Author:
- Stefan Dragisic
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowExecutionException(String type, @Nullable String message, @Nullable Throwable cause) Creates a stackless exception carrying the originating throwable's metadata. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
WorkflowExecutionException
Creates a stackless exception carrying the originating throwable's metadata.- Parameters:
type- fully-qualified class name of the originating throwable.message- message of the originating throwable, ornull.cause- reconstructed cause, ornull.
-
-
Method Details
-
type
Description copied from interface:CauseFully-qualified class name of the originatingThrowable. -
message
Description copied from interface:CauseMessage describing the cause, typicallyThrowable.getMessage(). -
toString
-
fillInStackTrace
- Overrides:
fillInStackTracein classThrowable
-