Class BackendSystemException.BackendExceptionFactory
- java.lang.Object
-
- com.lexmark.saperion.exceptions.system.BackendSystemException.BackendExceptionFactory
-
- Enclosing class:
- BackendSystemException
public static class BackendSystemException.BackendExceptionFactory extends java.lang.Object
Backend exception factory.
-
-
Constructor Summary
Constructors Constructor Description BackendExceptionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BackendSystemException
newBackendConfigurationException(java.lang.String message, java.lang.Throwable cause, java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a new exception for backend configuration errors.static BackendSystemException
newUnProcessableRequestException(java.lang.String message)
Creates a new exception for backend where the request can't be processed.
-
-
-
Method Detail
-
newBackendConfigurationException
public static BackendSystemException newBackendConfigurationException(java.lang.String message, java.lang.Throwable cause, java.util.Map<java.lang.String,java.lang.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
public static BackendSystemException newUnProcessableRequestException(java.lang.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
-
-