javax.faces.context
Class ExceptionHandler

java.lang.Object
  extended by javax.faces.context.ExceptionHandler
All Implemented Interfaces:
java.util.EventListener, FacesListener, SystemEventListener
Direct Known Subclasses:
ExceptionHandlerWrapper

public abstract class ExceptionHandler
extends java.lang.Object
implements SystemEventListener

Since:
2.0
Version:
$Revision: 761981 $ $Date: 2009-04-04 13:44:14 -0500 (Sat, 04 Apr 2009) $
Author:
Leonardo Uribe (latest modification by $Author: slessard $)

Constructor Summary
ExceptionHandler()
           
 
Method Summary
abstract  ExceptionQueuedEvent getHandledExceptionQueuedEvent()
           
abstract  java.lang.Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
           
abstract  java.lang.Throwable getRootCause(java.lang.Throwable t)
           
abstract  java.lang.Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
           
abstract  void handle()
           
abstract  boolean isListenerForSource(java.lang.Object source)
           
abstract  void processEvent(SystemEvent exceptionQueuedEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandler

public ExceptionHandler()
Method Detail

getHandledExceptionQueuedEvent

public abstract ExceptionQueuedEvent getHandledExceptionQueuedEvent()

getHandledExceptionQueuedEvents

public abstract java.lang.Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()

getRootCause

public abstract java.lang.Throwable getRootCause(java.lang.Throwable t)

getUnhandledExceptionQueuedEvents

public abstract java.lang.Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()

handle

public abstract void handle()
                     throws FacesException
Throws:
FacesException

isListenerForSource

public abstract boolean isListenerForSource(java.lang.Object source)
Specified by:
isListenerForSource in interface SystemEventListener

processEvent

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


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