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:
Serializable

public class BackendSystemException extends com.lexmark.saperion.exceptions.system.SystemException
Generic system exception.
Author:
owaeldrich
See Also:
  • Field Details

  • Constructor Details

    • BackendSystemException

      public BackendSystemException()
      Convenience constructor.
    • BackendSystemException

      public BackendSystemException(String message, Throwable cause)
    • BackendSystemException

      public BackendSystemException(com.lexmark.saperion.exceptions.ErrorType fault, Throwable cause)
      Factory constructor. Creates a new exception based on the given server fault.
      Parameters:
      fault - the server fault
      cause - the exception cause
    • BackendSystemException

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

      public BackendSystemException(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
    • BackendSystemException

      public BackendSystemException(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, 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
    • BackendSystemException

      protected BackendSystemException(BackendSystemException.BackendSystemError errorCode, com.lexmark.saperion.exceptions.ErrorDetailsType errorDetails, String message, Throwable cause)
      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
    • BackendSystemException

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

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