javax.faces.context
Class ExceptionHandler

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

public abstract class ExceptionHandler
extends 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  Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
           
abstract  Throwable getRootCause(Throwable t)
           
abstract  Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
           
abstract  void handle()
           
abstract  boolean isListenerForSource(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 Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents()

getRootCause

public abstract Throwable getRootCause(Throwable t)

getUnhandledExceptionQueuedEvents

public abstract Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()

handle

public abstract void handle()
                     throws FacesException
Throws:
FacesException

isListenerForSource

public abstract boolean isListenerForSource(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 © 2014 The Apache Software Foundation. All Rights Reserved.