|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mortbay.HTTP.Handler.DefaultExceptionHandler
Default Exception handler This specialization of exception handler adds the exception and its stack trace to the reply for view by the user. It is intended as the last resort exception handler
Constructor Summary | |
DefaultExceptionHandler()
|
Method Summary | |
void |
handle(HttpRequest request,
HttpResponse response,
java.lang.Exception exception)
Base handler of handler Exceptions. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DefaultExceptionHandler()
Method Detail |
public void handle(HttpRequest request, HttpResponse response, java.lang.Exception exception) throws java.lang.Exception
request
- The HTTP request that was handledresponse
- The HTTP response. The headersWritten() method needs
to be checked to determine if headers were sent before the exception.exception
- Any exception thrown by another HttpHandler.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |