org.apache.myfaces.context
Class ExceptionHandlerImpl

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

public class ExceptionHandlerImpl
extends javax.faces.context.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
 javax.faces.event.ExceptionQueuedEvent getHandledExceptionQueuedEvent()
          
 java.lang.Iterable<javax.faces.event.ExceptionQueuedEvent> getHandledExceptionQueuedEvents()
          
protected  java.lang.Throwable getRethrownException(java.lang.Throwable exception)
           
 java.lang.Throwable getRootCause(java.lang.Throwable t)
          
 java.lang.Iterable<javax.faces.event.ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()
          
 void handle()
          
 boolean isListenerForSource(java.lang.Object source)
          
 void processEvent(javax.faces.event.SystemEvent exceptionQueuedEvent)
          
protected  boolean shouldSkip(java.lang.Throwable exception)
           
protected  javax.faces.FacesException wrap(java.lang.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 javax.faces.event.ExceptionQueuedEvent getHandledExceptionQueuedEvent()

Specified by:
getHandledExceptionQueuedEvent in class javax.faces.context.ExceptionHandler

getHandledExceptionQueuedEvents

public java.lang.Iterable<javax.faces.event.ExceptionQueuedEvent> getHandledExceptionQueuedEvents()

Specified by:
getHandledExceptionQueuedEvents in class javax.faces.context.ExceptionHandler

getRootCause

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

Specified by:
getRootCause in class javax.faces.context.ExceptionHandler

getUnhandledExceptionQueuedEvents

public java.lang.Iterable<javax.faces.event.ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents()

Specified by:
getUnhandledExceptionQueuedEvents in class javax.faces.context.ExceptionHandler

handle

public void handle()
            throws javax.faces.FacesException

Specified by:
handle in class javax.faces.context.ExceptionHandler
Throws:
javax.faces.FacesException

isListenerForSource

public boolean isListenerForSource(java.lang.Object source)

Specified by:
isListenerForSource in interface javax.faces.event.SystemEventListener
Specified by:
isListenerForSource in class javax.faces.context.ExceptionHandler

processEvent

public void processEvent(javax.faces.event.SystemEvent exceptionQueuedEvent)
                  throws javax.faces.event.AbortProcessingException

Specified by:
processEvent in interface javax.faces.event.SystemEventListener
Specified by:
processEvent in class javax.faces.context.ExceptionHandler
Throws:
javax.faces.event.AbortProcessingException

getRethrownException

protected java.lang.Throwable getRethrownException(java.lang.Throwable exception)

wrap

protected javax.faces.FacesException wrap(java.lang.Throwable exception)

shouldSkip

protected boolean shouldSkip(java.lang.Throwable exception)


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