com.mortbay.HTTP
Interface ExceptionHandler

All Known Implementing Classes:
DefaultExceptionHandler, TerseExceptionHandler

public interface ExceptionHandler


Method Summary
 void handle(HttpRequest request, HttpResponse response, java.lang.Exception exception)
          Abstract handler of handler Exceptions.
 

Method Detail

handle

public void handle(HttpRequest request,
                   HttpResponse response,
                   java.lang.Exception exception)
            throws java.lang.Exception
Abstract handler of handler Exceptions.
Parameters:
request - The HTTP request that was handled
response - 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.