Package org.opencastproject.workflow.api
Class WorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opencastproject.workflow.api.WorkflowException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WorkflowDatabaseException,WorkflowParsingException,WorkflowStateException
The superclass for any workflow related exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new workflow exception without a message or a cause.WorkflowException(String message) Constructs a new workflow exception with a message.WorkflowException(String message, Throwable cause) Constructs a new workflow exception with a message and the throwable that caused this exception to be thrown.WorkflowException(Throwable cause) Constructs a new workflow exception with the throwable causing this exception to be thrown. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WorkflowException
public WorkflowException()Constructs a new workflow exception without a message or a cause. -
WorkflowException
Constructs a new workflow exception with a message.- Parameters:
message- the message describing the exception
-
WorkflowException
Constructs a new workflow exception with the throwable causing this exception to be thrown.- Parameters:
cause- the cause of this exception
-
WorkflowException
Constructs a new workflow exception with a message and the throwable that caused this exception to be thrown.- Parameters:
message- the message describing the exceptioncause- the cause of this exception
-