ccs.http
Class ExceptionHandler
java.lang.Object
  
org.mortbay.http.handler.AbstractHttpHandler
      
ccs.http.AbstractXhtmlHandler
          
ccs.http.ExceptionHandler
- All Implemented Interfaces: 
 - java.io.Serializable, org.mortbay.http.HttpHandler, org.mortbay.util.LifeCycle
 
public class ExceptionHandler
- extends AbstractXhtmlHandler
 
Handles exceptions thrown during the course of processing the request.
- See Also:
 - Serialized Form
 
 
 
| 
Field Summary | 
static java.lang.String | 
THROWATTR
 
          The name of the attribute containing the exception moving down the chain
        until it gets to the exception handler. | 
 
 
 
| 
Method Summary | 
protected  AbstractXhtmlHandler.XHMode | 
getDefaultXHMode()
 
          The XHTML handling mode to use if no request-specific handling mode has
        been set. | 
 void | 
handle(java.lang.String subpath,
       java.lang.String pathParams,
       org.mortbay.http.HttpRequest ha,
       org.mortbay.http.HttpResponse hq)
 
            | 
 
 
| Methods inherited from class org.mortbay.http.handler.AbstractHttpHandler | 
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toString | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
THROWATTR
public static final java.lang.String THROWATTR
- The name of the attribute containing the exception moving down the chain
        until it gets to the exception handler.
- See Also:
 - Constant Field Values
 
 
ExceptionHandler
public ExceptionHandler(ExceptionHelper helper)
handle
public void handle(java.lang.String subpath,
                   java.lang.String pathParams,
                   org.mortbay.http.HttpRequest ha,
                   org.mortbay.http.HttpResponse hq)
            throws org.mortbay.http.HttpException,
                   java.io.IOException
- Throws:
 org.mortbay.http.HttpException
java.io.IOException
 
getDefaultXHMode
protected AbstractXhtmlHandler.XHMode getDefaultXHMode()
- Description copied from class: 
AbstractXhtmlHandler 
- The XHTML handling mode to use if no request-specific handling mode has
        been set.
- Specified by:
 getDefaultXHMode in class AbstractXhtmlHandler