Class WorkflowException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.application.ApplicationException
com.lexmark.saperion.exceptions.application.WorkflowException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WorkflowActorRequiredException

public class WorkflowException extends com.lexmark.saperion.exceptions.application.ApplicationException
Security base exception.
Author:
owaeldrich
See Also:
  • Constructor Details

    • WorkflowException

      public WorkflowException()
      Default constuctor.
    • WorkflowException

      public WorkflowException(com.lexmark.saperion.exceptions.ErrorType fault, Throwable cause)
      Exception factory constructor. Constructs a security exception from a server fault.
      Parameters:
      fault - the server fault.
      cause - the exception cause
    • WorkflowException

      public WorkflowException(String message)
      Creates a new exception with the given exception message.
      Parameters:
      message - the exception message
    • WorkflowException

      public WorkflowException(String message, Throwable cause, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
      Creates a new exception with the given error details, exception cause and exception message.
      Parameters:
      errorDetails - the error details
      message - the exception message
      cause - the exception cause
    • WorkflowException

      public WorkflowException(String message, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
      Creates a new exception with the given error details and exception message.
      Parameters:
      errorDetails - the error details
      message - the exception message
      cause - the exception cause
    • WorkflowException

      public WorkflowException(Throwable cause)
      Creates a new exception with the given exception cause.
      Parameters:
      cause - the exception cause
    • WorkflowException

      protected WorkflowException(WorkflowException.WorkflowError errorCode)
      Creates a new exception with the given error code.
      Parameters:
      errorCode - the error code
    • WorkflowException

      protected WorkflowException(WorkflowException.WorkflowError errorCode, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails, Map<String,String> parameters, String message, Throwable cause)
      Creates a new exception with the given error code, error details, error parameters, exception cause and exception message.
      Parameters:
      errorCode - the error code
      errorDetails - the error details
      parameters - the error parameters
      message - the exception message
      cause - the exception cause
    • WorkflowException

      protected WorkflowException(WorkflowException.WorkflowError errorCode, String message, Throwable cause, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
      Creates a new exception with the given error code, error details, exception cause and exception message.
      Parameters:
      errorCode - the error code
      errorDetails - the error details
      message - the exception message
      cause - the exception cause
    • WorkflowException

      protected WorkflowException(WorkflowException.WorkflowError errorCode, String message)
      Creates a new exception with the given error code and exception message.
      Parameters:
      errorCode - the error code
      message - the exception message
    • WorkflowException

      protected WorkflowException(WorkflowException.WorkflowError errorCode, Throwable cause)
      Creates a new exception with the given error code and exception cause.
      Parameters:
      errorCode - the error code
      cause - the exception cause
    • WorkflowException

      protected WorkflowException(WorkflowException.WorkflowError errorCode, String message, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
      Creates a new exception with the given error code and exception message.
      Parameters:
      errorCode - the error code
      message - the exception message
      errorDetails - the error details
    • WorkflowException

      protected WorkflowException(WorkflowException.WorkflowError errorCode, Throwable cause, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
      Creates a new exception with the given error code and exception cause.
      Parameters:
      errorCode - the error code
      cause - the exception cause
      errorDetails - the error details