Class BackendSystemException.BackendExceptionFactory

java.lang.Object
com.lexmark.saperion.exceptions.system.BackendSystemException.BackendExceptionFactory
Enclosing class:
BackendSystemException

public static class BackendSystemException.BackendExceptionFactory extends Object
Backend exception factory.
  • Constructor Details

    • BackendExceptionFactory

      public BackendExceptionFactory()
  • Method Details

    • newBackendConfigurationException

      public static BackendSystemException newBackendConfigurationException(String message, Throwable cause, Map<String,String> parameters)
      Creates a new exception for backend configuration errors.
      Parameters:
      message - the error message
      cause - the error cause
      parameters - the message parameters
      Returns:
      the backend configuration exception
    • newUnProcessableRequestException

      public static BackendSystemException newUnProcessableRequestException(String message)
      Creates a new exception for backend where the request can't be processed. For eg, Deleting a document with retention.
      Parameters:
      message - the error message
      Returns:
      the backend exception