Package org.hippoecm.repository.api
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowException(String message)
Constructs a new workflow exception with the specified detail message and without initialized causeWorkflowException(String message, Exception reason)
Constructs a new workflow exception with the specified detail message and cause
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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)
-
-