com.caucho.server.dispatch
Class ExceptionFilterChain

java.lang.Object
  extended by com.caucho.server.dispatch.ExceptionFilterChain
All Implemented Interfaces:
FilterChain

public class ExceptionFilterChain
extends java.lang.Object
implements FilterChain

Represents the final servlet in a filter chain.


Constructor Summary
ExceptionFilterChain(java.lang.Throwable exn)
          Create the exception filter chain.
 
Method Summary
 void doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionFilterChain

public ExceptionFilterChain(java.lang.Throwable exn)
Create the exception filter chain.

Parameters:
exception - the exception to throw
Method Detail

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response)
              throws ServletException,
                     java.io.IOException
Invokes the final servlet at the end of the chain.

Specified by:
doFilter in interface FilterChain
Parameters:
request - the servlet request
response - the servlet response
Throws:
ServletException
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object