MCPcopy Index your code
hub / github.com/perwendel/spark / ExceptionHandler

Interface ExceptionHandler

src/main/java/spark/ExceptionHandler.java:6–17  ·  view source on GitHub ↗

Created by Per Wendel on 2014-05-10.

Source from the content-addressed store, hash-verified

4 * Created by Per Wendel on 2014-05-10.
5 */
6@FunctionalInterface
7public 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}

Callers

nothing calls this directly

Implementers 9

RouteImplTestsrc/test/java/spark/RouteImplTest.java
FilterImplTestsrc/test/java/spark/FilterImplTest.jav
FilterExamplesrc/test/java/spark/examples/filter/Fi
RouteImplsrc/main/java/spark/RouteImpl.java
FilterImplsrc/main/java/spark/FilterImpl.java
ResponseTransformerRouteImplsrc/main/java/spark/ResponseTransforme
Servicesrc/main/java/spark/Service.java
TemplateViewRouteImplsrc/main/java/spark/TemplateViewRouteI
ExceptionHandlerImplsrc/main/java/spark/ExceptionHandlerIm

Calls

no outgoing calls

Tested by

no test coverage detected