org.jboss.seam.faces.exception
Class CatchExceptionHandler

java.lang.Object
  extended by javax.faces.context.ExceptionHandler
      extended by javax.faces.context.ExceptionHandlerWrapper
          extended by org.jboss.seam.faces.exception.CatchExceptionHandler
All Implemented Interfaces:
EventListener, FacesListener, SystemEventListener, FacesWrapper<ExceptionHandler>

@Requires(value="org.jboss.seam.exception.control.extension.CatchExtension")
public class CatchExceptionHandler
extends ExceptionHandlerWrapper

This class fires Exceptions from the JSF lifecycle into Seam Catch.

Author:
Brian Leathem, Dan Allen

Constructor Summary
CatchExceptionHandler()
           
CatchExceptionHandler(ExceptionHandler wrapped, BeanManager beanManager)
           
 
Method Summary
 ExceptionHandler getWrapped()
           
 void handle()
           
 
Methods inherited from class javax.faces.context.ExceptionHandlerWrapper
getHandledExceptionQueuedEvent, getHandledExceptionQueuedEvents, getRootCause, getUnhandledExceptionQueuedEvents, isListenerForSource, processEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchExceptionHandler

public CatchExceptionHandler()

CatchExceptionHandler

public CatchExceptionHandler(ExceptionHandler wrapped,
                             BeanManager beanManager)
Method Detail

getWrapped

public ExceptionHandler getWrapped()
Specified by:
getWrapped in interface FacesWrapper<ExceptionHandler>
Overrides:
getWrapped in class ExceptionHandlerWrapper

handle

public void handle()
            throws FacesException
Overrides:
handle in class ExceptionHandlerWrapper
Throws:
FacesException


Copyright © 2009-2011 Seam Framework. All Rights Reserved.