T - the exception type supported by the factorypublic interface ExceptionFactory<T extends Exception>
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExceptionFactory.IntegrityCheckResult
Result for a exception factory integrity checks.
|
| Modifier and Type | Method and Description |
|---|---|
ExceptionFactory.IntegrityCheckResult |
checkIntegrity()
Performs an integrity check on the factories exception mapping registries.
|
T |
createException(com.lexmark.saperion.exceptions.ErrorType error,
Throwable cause)
This method creates a new exception instance for the given server fault.
|
boolean |
supports(com.lexmark.saperion.exceptions.ErrorCodeType code)
This method determines if an exception mapping for faults with the given error code exists in the factory
instance.
|
ExceptionFactory.IntegrityCheckResult checkIntegrity()
T createException(com.lexmark.saperion.exceptions.ErrorType error, Throwable cause)
error - the server error representationcause - the exception causeboolean supports(com.lexmark.saperion.exceptions.ErrorCodeType code)
code - the server error codeCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.