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

public class WorkflowCancelledException extends RuntimeException
Exception thrown when a workflow is cancelled via the terminate primitive.
Since:
5.4.0
Author:
Stefan Dragisic
See Also:
  • Constructor Details

    • WorkflowCancelledException

      public WorkflowCancelledException(String message)
      Constructs a WorkflowCancelledException with a descriptive message.
      Parameters:
      message - message describing the cancellation reason.
    • WorkflowCancelledException

      public WorkflowCancelledException(String message, Throwable cause)
      Constructs a WorkflowCancelledException with a descriptive message and a cause.
      Parameters:
      message - message describing the cancellation reason.
      cause - cause of the cancellation.
    • WorkflowCancelledException

      public WorkflowCancelledException(Throwable cause)
      Constructs a WorkflowCancelledException wrapping an underlying cause.
      Parameters:
      cause - cause of the cancellation.