Class BackendSystemException.BackendExceptionFactory
java.lang.Object
com.lexmark.saperion.exceptions.system.BackendSystemException.BackendExceptionFactory
- Enclosing class:
- BackendSystemException
Backend exception factory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BackendSystemException
Creates a new exception for backend configuration errors.static BackendSystemException
newUnProcessableRequestException
(String message) Creates a new exception for backend where the request can't be processed.
-
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 messagecause
- the error causeparameters
- the message parameters- Returns:
- the backend configuration exception
-
newUnProcessableRequestException
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
-