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(ErrorType error,
Throwable cause)
This method creates a new exception instance for the given server fault.
|
boolean |
supports(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(ErrorType error, Throwable cause)
error
- the server error representationcause
- the exception causeboolean supports(ErrorCodeType code)
code
- the server error codeCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.