Interface ExceptionHandler<T extends java.lang.Throwable,R>
-
- Type Parameters:
T- The throwableR- The result type
- All Known Implementing Classes:
ContentLengthExceededHandler,ConversionErrorHandler,DuplicateRouteHandler,HttpStatusHandler,JsonExceptionHandler,UnsatisfiedArgumentHandler,UnsatisfiedRouteHandler,URISyntaxHandler
public interface ExceptionHandler<T extends java.lang.Throwable,R>A generic hook for handling exceptions that occurs during the execution of an HTTP request.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rhandle(io.micronaut.http.HttpRequest request, T exception)Handles an exception and returns the result.
-