Created by Per Wendel on 2014-05-10.
| 4 | * Created by Per Wendel on 2014-05-10. |
| 5 | */ |
| 6 | @FunctionalInterface |
| 7 | public interface ExceptionHandler<T extends Exception> { |
| 8 | |
| 9 | /** |
| 10 | * Invoked when an exception that is mapped to this handler occurs during routing |
| 11 | * |
| 12 | * @param exception The exception that was thrown during routing |
| 13 | * @param request The request object providing information about the HTTP request |
| 14 | * @param response The response object providing functionality for modifying the response |
| 15 | */ |
| 16 | void handle(T exception, Request request, Response response); |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected