org.jboss.seam.servlet.exception
Class CatchExceptionFilter

java.lang.Object
  extended by org.jboss.seam.solder.beanManager.BeanManagerAware
      extended by org.jboss.seam.servlet.exception.CatchExceptionFilter
All Implemented Interfaces:
Filter

@Requires(value="org.jboss.seam.exception.control.extension.CatchExtension")
public class CatchExceptionFilter
extends org.jboss.seam.solder.beanManager.BeanManagerAware
implements Filter

A bridge that forwards unhandled exceptions to the Seam exception handling facility (Seam Catch).

Author:
Dan Allen

Constructor Summary
CatchExceptionFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig config)
           
 
Methods inherited from class org.jboss.seam.solder.beanManager.BeanManagerAware
getBeanManager, getBeanManagerLocator, isBeanManagerAvailable, isBeanManagerInjected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchExceptionFilter

public CatchExceptionFilter()
Method Detail

init

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

doFilter

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

destroy

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


Copyright © 2011 Seam Framework. All Rights Reserved.