Class BackendSystemException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.lexmark.saperion.exceptions.EcmException
-
- com.lexmark.saperion.exceptions.system.SystemException
-
- com.lexmark.saperion.exceptions.system.BackendSystemException
-
- All Implemented Interfaces:
java.io.Serializable
public class BackendSystemException extends com.lexmark.saperion.exceptions.system.SystemException
Generic system exception.- Author:
- owaeldrich
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BackendSystemException.BackendExceptionFactory
Backend exception factory.static class
BackendSystemException.BackendSystemError
Backend error definition.
-
Field Summary
Fields Modifier and Type Field Description static BackendSystemException.BackendExceptionFactory
FACTORY
-
Constructor Summary
Constructors Modifier Constructor Description BackendSystemException()
Convenience constructor.BackendSystemException(com.lexmark.saperion.exceptions.ErrorType fault, java.lang.Throwable cause)
Factory constructor.protected
BackendSystemException(BackendSystemException.BackendSystemError errorCode)
Creates a new exception with the given error code.protected
BackendSystemException(BackendSystemException.BackendSystemError errorCode, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails, java.lang.String message, java.lang.Throwable cause)
Creates a new exception with the given error code, error details, exception cause and exception message.protected
BackendSystemException(BackendSystemException.BackendSystemError 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
BackendSystemException(BackendSystemException.BackendSystemError errorCode, java.lang.String message)
Creates a new exception with the given error code and exception message.protected
BackendSystemException(BackendSystemException.BackendSystemError errorCode, java.lang.Throwable cause)
Creates a new exception with the given error code and exception cause.BackendSystemException(java.lang.String message)
Creates a new exception with the given exception message.BackendSystemException(java.lang.String message, java.lang.Throwable cause)
BackendSystemException(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.BackendSystemException(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
-
-
-
-
Field Detail
-
FACTORY
public static final BackendSystemException.BackendExceptionFactory FACTORY
-
-
Constructor Detail
-
BackendSystemException
public BackendSystemException()
Convenience constructor.
-
BackendSystemException
public BackendSystemException(java.lang.String message, java.lang.Throwable cause)
-
BackendSystemException
public BackendSystemException(com.lexmark.saperion.exceptions.ErrorType fault, java.lang.Throwable cause)
Factory constructor. Creates a new exception based on the given server fault.- Parameters:
fault
- the server faultcause
- the exception cause
-
BackendSystemException
public BackendSystemException(java.lang.String message)
Creates a new exception with the given exception message.- Parameters:
message
- the exception message
-
BackendSystemException
public BackendSystemException(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
-
BackendSystemException
public BackendSystemException(java.lang.Throwable cause)
Creates a new exception with the given exception cause.- Parameters:
cause
- the exception cause
-
BackendSystemException
protected BackendSystemException(BackendSystemException.BackendSystemError errorCode)
Creates a new exception with the given error code.- Parameters:
errorCode
- the error code
-
BackendSystemException
protected BackendSystemException(BackendSystemException.BackendSystemError 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
-
BackendSystemException
protected BackendSystemException(BackendSystemException.BackendSystemError errorCode, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails, java.lang.String message, java.lang.Throwable cause)
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
-
BackendSystemException
protected BackendSystemException(BackendSystemException.BackendSystemError 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
-
BackendSystemException
protected BackendSystemException(BackendSystemException.BackendSystemError 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
-
-