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:
java.io.Serializable
- Direct Known Subclasses:
WorkflowActorRequiredException
public class WorkflowException extends com.lexmark.saperion.exceptions.application.ApplicationException
Security base exception.- Author:
- owaeldrich
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowException.WorkflowError
Error code implementation for application exceptions.
-
Constructor Summary
Constructors Modifier Constructor Description WorkflowException()
Default constuctor.protected
WorkflowException(WorkflowException.WorkflowError errorCode)
Creates a new exception with the given error code.protected
WorkflowException(WorkflowException.WorkflowError errorCode, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails, java.util.Map<java.lang.String,java.lang.String> parameters, java.lang.String message, java.lang.Throwable cause)
Creates a new exception with the given error code, error details, error parameters, exception cause and exception message.protected
WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.String message)
Creates a new exception with the given error code and exception message.protected
WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.String message, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
Creates a new exception with the given error code and exception message.protected
WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.String message, java.lang.Throwable cause, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
Creates a new exception with the given error code, error details, exception cause and exception message.protected
WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.Throwable cause)
Creates a new exception with the given error code and exception cause.protected
WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.Throwable cause, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
Creates a new exception with the given error code and exception cause.WorkflowException(com.lexmark.saperion.exceptions.ErrorType fault, java.lang.Throwable cause)
Exception factory constructor.WorkflowException(java.lang.String message)
Creates a new exception with the given exception message.WorkflowException(java.lang.String message, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
Creates a new exception with the given error details and exception message.WorkflowException(java.lang.String message, java.lang.Throwable cause, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
Creates a new exception with the given error details, exception cause and exception message.WorkflowException(java.lang.Throwable cause)
Creates a new exception with the given exception cause.
-
Method Summary
-
Methods inherited from class com.lexmark.saperion.exceptions.EcmException
createError, getDescriptionParameters, getErrorCode, getErrorDetails
-
-
-
-
Constructor Detail
-
WorkflowException
public WorkflowException()
Default constuctor.
-
WorkflowException
public WorkflowException(com.lexmark.saperion.exceptions.ErrorType fault, java.lang.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(java.lang.String message)
Creates a new exception with the given exception message.- Parameters:
message
- the exception message
-
WorkflowException
public WorkflowException(java.lang.String message, java.lang.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 detailsmessage
- the exception messagecause
- the exception cause
-
WorkflowException
public WorkflowException(java.lang.String message, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
Creates a new exception with the given error details and exception message.- Parameters:
errorDetails
- the error detailsmessage
- the exception messagecause
- the exception cause
-
WorkflowException
public WorkflowException(java.lang.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, java.util.Map<java.lang.String,java.lang.String> parameters, java.lang.String message, java.lang.Throwable cause)
Creates a new exception with the given error code, error details, error parameters, exception cause and exception message.- Parameters:
errorCode
- the error codeerrorDetails
- the error detailsparameters
- the error parametersmessage
- the exception messagecause
- the exception cause
-
WorkflowException
protected WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.String message, java.lang.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 codeerrorDetails
- the error detailsmessage
- the exception messagecause
- the exception cause
-
WorkflowException
protected WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.String message)
Creates a new exception with the given error code and exception message.- Parameters:
errorCode
- the error codemessage
- the exception message
-
WorkflowException
protected WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.Throwable cause)
Creates a new exception with the given error code and exception cause.- Parameters:
errorCode
- the error codecause
- the exception cause
-
WorkflowException
protected WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.String message, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
Creates a new exception with the given error code and exception message.- Parameters:
errorCode
- the error codemessage
- the exception messageerrorDetails
- the error details
-
WorkflowException
protected WorkflowException(WorkflowException.WorkflowError errorCode, java.lang.Throwable cause, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails)
Creates a new exception with the given error code and exception cause.- Parameters:
errorCode
- the error codecause
- the exception causeerrorDetails
- the error details
-
-