public interface ExceptionHandler
Modifier and Type | Method and Description |
---|---|
void |
handle(Exception exception,
Request request,
Response response)
Invoked when an exception that is mapped to this handler occurs during routing
|
void handle(Exception exception, Request request, Response response)
exception
- The exception that was thrown during routingrequest
- The request object providing information about the HTTP requestresponse
- The response object providing functionality for modifying the responseCopyright © 2014. All rights reserved.