org.apache.myfaces.shared.context
Class ExceptionHandlerImpl

java.lang.Object
  extended by javax.faces.context.ExceptionHandler
      extended by org.apache.myfaces.shared.context.ExceptionHandlerImpl
All Implemented Interfaces:
EventListener, FacesListener, SystemEventListener

public class ExceptionHandlerImpl
extends ExceptionHandler

DOCUMENT ME!

Since:
2.0
Version:
$Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
Author:
(latest modification by $Author: slessard $)

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

Constructor Detail

ExceptionHandlerImpl

public ExceptionHandlerImpl()
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

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

getRethrownException

protected Throwable getRethrownException(Throwable exception)

wrap

protected FacesException wrap(Throwable exception)

shouldSkip

protected boolean shouldSkip(Throwable exception)


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