Interface ExceptionHandler<T extends Throwable,R>
- Type Parameters:
T- The throwableR- The result type
- All Known Implementing Classes:
ContentLengthExceededHandler,ConversionErrorHandler,DuplicateRouteHandler,HttpStatusHandler,JacksonExceptionHandler,JsonExceptionHandler,UnsatisfiedArgumentHandler,UnsatisfiedRouteHandler,URISyntaxHandler
public interface ExceptionHandler<T extends Throwable,R>
A generic hook for handling exceptions that occurs during the execution of an HTTP request.
- Since:
- 1.0
-
Method Summary
-
Method Details
-
handle
Handles an exception and returns the result.- Parameters:
request- The requestexception- The exception type- Returns:
- The result
-