Class WorkflowException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hippoecm.repository.api.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:
  • Constructor Details

    • 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)