Input - handler input typeOutput - handler output typepublic interface GenericExceptionMapper<Input,Output>
BaseRequestDispatcher to act on unhandled exceptions encountered during request processing.
The exception mapper contains one or more exception handlers. Handlers are accessed through the mapper to attempt to
find a handler that is compatible with the current exception.| Modifier and Type | Method and Description |
|---|---|
Optional<GenericExceptionHandler<Input,Output>> |
getHandler(Input input,
Throwable throwable)
Returns a suitable exception handler to dispatch the specified exception, if one exists.
|
Optional<GenericExceptionHandler<Input,Output>> getHandler(Input input, Throwable throwable)
input - handler inputthrowable - the exception that was originally thrownCopyright © 2023. All rights reserved.