javax.faces.context
Class ExceptionHandlerWrapper

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

public abstract class ExceptionHandlerWrapper
extends ExceptionHandler
implements FacesWrapper<ExceptionHandler>

Since:
2.0
Version:
$Revision: 1169469 $ $Date: 2011-09-11 10:44:14 -0500 (Sun, 11 Sep 2011) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Constructor Summary
ExceptionHandlerWrapper()
           
 
Method Summary
 ExceptionQueuedEvent getHandledExceptionQueuedEvent()
           
 Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
           
 Throwable getRootCause(Throwable t)
           
 Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
           
abstract  ExceptionHandler getWrapped()
          A class that implements this interface uses this method to return an instance of the class being wrapped.
 void handle()
           
 boolean isListenerForSource(Object source)
           
 void processEvent(SystemEvent exceptionQueuedEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandlerWrapper

public ExceptionHandlerWrapper()
Method Detail

getHandledExceptionQueuedEvent

public ExceptionQueuedEvent getHandledExceptionQueuedEvent()
Specified by:
getHandledExceptionQueuedEvent in class ExceptionHandler

getHandledExceptionQueuedEvents

public Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
Specified by:
getHandledExceptionQueuedEvents in class ExceptionHandler

getRootCause

public Throwable getRootCause(Throwable t)
Specified by:
getRootCause in class ExceptionHandler

getUnhandledExceptionQueuedEvents

public Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
Specified by:
getUnhandledExceptionQueuedEvents in class ExceptionHandler

getWrapped

public abstract ExceptionHandler getWrapped()
Description copied from interface: FacesWrapper
A class that implements this interface uses this method to return an instance of the class being wrapped.

Specified by:
getWrapped in interface FacesWrapper<ExceptionHandler>
Returns:
the instance of the class being wrapped

handle

public void handle()
            throws FacesException
Specified by:
handle in class ExceptionHandler
Throws:
FacesException

isListenerForSource

public boolean isListenerForSource(Object source)
Specified by:
isListenerForSource in interface SystemEventListener
Specified by:
isListenerForSource in class ExceptionHandler

processEvent

public void processEvent(SystemEvent exceptionQueuedEvent)
                  throws AbortProcessingException
Specified by:
processEvent in interface SystemEventListener
Specified by:
processEvent in class ExceptionHandler
Throws:
AbortProcessingException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.