Package com.day.cq.workflow
Class WorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.day.cq.workflow.WorkflowException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ValidationException
WorkflowException
is the base class for all workflow related
exceptions that can occur during execution of workflows and according
activities.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowException
(String message) Constructs a newWorkflowException
with the specified detail message.WorkflowException
(String message, Throwable cause) Constructs a newWorkflowException
with the specified detail message and cause.WorkflowException
(Throwable cause) Constructs a newWorkflowException
with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). -
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
Constructs a newWorkflowException
with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
WorkflowException
Constructs a newWorkflowException
with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful forWorkflowException
that are wrappers for other
s.Throwable
- Parameters:
cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
WorkflowException
Constructs a newWorkflowException
with the specified detail message and cause.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-