|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.mortbay.HTTP.Handler.TerseExceptionHandler
Handle an Exception from a HttpHandler in a more terse fashion than sending a stack trace to the client. Why? Becuase I don't want to send stack traces to clients.
DefaultExceptionHandler| Constructor Summary | |
TerseExceptionHandler()
|
|
| Method Summary | |
void |
handle(HttpRequest request,
HttpResponse response,
java.lang.Exception exception)
The function called to handle an exception thrown while handling a request. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public TerseExceptionHandler()
| Method Detail |
public void handle(HttpRequest request,
HttpResponse response,
java.lang.Exception exception)
throws java.lang.Exception
request - - what was being served.response - - where any response should goexception - - what went wrongHttpServer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||