Class WorkflowCancelledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.axoniq.framework.workflow.dsl.api.WorkflowCancelledException
- All Implemented Interfaces:
Serializable
Exception thrown when a workflow is cancelled via the terminate primitive.
- Since:
- 5.4.0
- Author:
- Stefan Dragisic
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowCancelledException(String message) Constructs aWorkflowCancelledExceptionwith a descriptive message.WorkflowCancelledException(String message, Throwable cause) Constructs aWorkflowCancelledExceptionwith a descriptive message and a cause.Constructs aWorkflowCancelledExceptionwrapping an underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WorkflowCancelledException
Constructs aWorkflowCancelledExceptionwith a descriptive message.- Parameters:
message- message describing the cancellation reason.
-
WorkflowCancelledException
Constructs aWorkflowCancelledExceptionwith a descriptive message and a cause.- Parameters:
message- message describing the cancellation reason.cause- cause of the cancellation.
-
WorkflowCancelledException
Constructs aWorkflowCancelledExceptionwrapping an underlying cause.- Parameters:
cause- cause of the cancellation.
-