public static class Err.Default extends Object implements Err.Handler
text/html
this err handler will delegate err rendering to a template processor.Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Request req,
Response rsp,
Exception ex)
Handle a route exception by probably logging the error and sending a err response to the
client.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
err, errPage
public void handle(Request req, Response rsp, Exception ex) throws Exception
Err.Handler
handle
in interface Err.Handler
req
- HTTP request.rsp
- HTTP response.ex
- Error found.Exception
- If something goes wrong.Copyright © 2014. All rights reserved.