edu.internet2.middleware.grouper.ui
Class ErrorFilter

java.lang.Object
  extended by edu.internet2.middleware.grouper.ui.ErrorFilter
All Implemented Interfaces:
Filter

public class ErrorFilter
extends Object
implements Filter

This should be the first filter. It is responsible for catching errors in any other filter. it also does some UIThreadLocal setup *

Version:
$Id: ErrorFilter.java,v 1.5 2009-10-11 07:32:24 mchyzer Exp $
Author:
Gary Brown.

Constructor Summary
ErrorFilter()
          Constructor
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
           
 void init(FilterConfig config)
           
static void initNDC(HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorFilter

public ErrorFilter()
Constructor

Method Detail

init

public void init(FilterConfig config)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

doFilter

public void doFilter(ServletRequest req,
                     ServletResponse res,
                     FilterChain chain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException

initNDC

public static void initNDC(HttpServletRequest request)

destroy

public void destroy()
Specified by:
destroy in interface Filter