T
- The throwableR
- The result typepublic interface ExceptionHandler<T extends Throwable,R>
Modifier and Type | Method and Description |
---|---|
R |
handle(HttpRequest request,
T exception)
Handles an exception and returns the result.
|
@Executable R handle(HttpRequest request, T exception)
request
- The requestexception
- The exception type