Class WorkflowException

  • All Implemented Interfaces:
    Serializable

    public class WorkflowException
    extends Exception
    An WorkflowException is thrown when a workflow implementation disallows the workflow step to be taken for some reason.
    See Also:
    Serialized Form
    • Constructor Detail

      • WorkflowException

        public WorkflowException​(String message)
        Constructs a new workflow exception with the specified detail message and without initialized cause
        Parameters:
        message - the detail message, for later retrieval though getMessage()
      • WorkflowException

        public WorkflowException​(String message,
                                 Exception reason)
        Constructs a new workflow exception with the specified detail message and cause
        Parameters:
        message - the detail message, for later retrieval though getMessage()
        reason - the cause (A null value is permitted, and indicates that the cause is nonexistent or unknown)