Input - handler input typeOutput - handler output typepublic interface GenericExceptionHandler<Input,Output>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(Input input,
Throwable throwable)
Returns true if this handler is capable of handling the current exception and/or state.
|
Output |
handle(Input input,
Throwable throwable)
Handles the exception.
|
Copyright © 2023. All rights reserved.