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

public abstract class WorkflowException extends Exception
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 Details

    • errorContext

      protected String errorContext
    • errorCode

      protected String errorCode
  • Constructor Details

    • WorkflowException

      public WorkflowException(String aErrorCode, String message)
    • WorkflowException

      public WorkflowException(String aErrorContext, String aErrorCode, String message)
    • WorkflowException

      public WorkflowException(String aErrorContext, String aErrorCode, String message, Exception e)
    • WorkflowException

      public WorkflowException(String aErrorCode, String message, Exception e)
  • Method Details

    • getErrorContext

      public String getErrorContext()
    • setErrorContext

      public void setErrorContext(String errorContext)
    • getErrorCode

      public String getErrorCode()
    • setErrorCode

      public void setErrorCode(String errorCode)