Package org.imixs.workflow.exceptions
Class WorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.imixs.workflow.exceptions.WorkflowException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AdapterException
,ModelException
,PluginException
,QueryException
,SchedulerException
,ValidationException
WorkflowException is the abstract super class for all Imixs Workflow
Exception classes. A WorkflowException signals an error in the business
logic. WorkflowExceptions need to be caught.
- Author:
- rsoika
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWorkflowException
(String aErrorCode, String message) WorkflowException
(String aErrorCode, String message, Exception e) WorkflowException
(String aErrorContext, String aErrorCode, String message) WorkflowException
(String aErrorContext, String aErrorCode, String message, Exception e) -
Method Summary
Modifier and TypeMethodDescriptionformatErrorMessageWithParameters
(String message) Object[]
void
setErrorCode
(String errorCode) void
setErrorContext
(String errorContext) protected void
setErrorParameters
(Object[] aparams) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorContext
-
errorCode
-
params
-
-
Constructor Details
-
WorkflowException
-
WorkflowException
-
WorkflowException
-
WorkflowException
-
-
Method Details
-
getErrorContext
-
setErrorContext
-
getErrorCode
-
setErrorCode
-
getErrorParameters
-
setErrorParameters
-
formatErrorMessageWithParameters
-