javax.faces.event
Class ExceptionQueuedEventContext

java.lang.Object
  extended by javax.faces.event.ExceptionQueuedEventContext
All Implemented Interfaces:
SystemEventListenerHolder

public class ExceptionQueuedEventContext
extends Object
implements SystemEventListenerHolder

Since:
2.0
Version:
$Revision: 696523 $ $Date: 2009-03-14 16:58:24 -0400 (mer., 17 sept. 2008) $
Author:
Simon Lessard (latest modification by $Author: slessard $)

Field Summary
static String IN_AFTER_PHASE_KEY
           
static String IN_BEFORE_PHASE_KEY
           
 
Constructor Summary
ExceptionQueuedEventContext(FacesContext context, Throwable thrown)
           
ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component)
           
ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId)
           
 
Method Summary
 Map<Object,Object> getAttributes()
           
 UIComponent getComponent()
           
 FacesContext getContext()
           
 Throwable getException()
           
 List<SystemEventListener> getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)
          
 PhaseId getPhaseId()
           
 boolean inAfterPhase()
           
 boolean inBeforePhase()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IN_AFTER_PHASE_KEY

public static final String IN_AFTER_PHASE_KEY

IN_BEFORE_PHASE_KEY

public static final String IN_BEFORE_PHASE_KEY
Constructor Detail

ExceptionQueuedEventContext

public ExceptionQueuedEventContext(FacesContext context,
                                   Throwable thrown)

ExceptionQueuedEventContext

public ExceptionQueuedEventContext(FacesContext context,
                                   Throwable thrown,
                                   UIComponent component)

ExceptionQueuedEventContext

public ExceptionQueuedEventContext(FacesContext context,
                                   Throwable thrown,
                                   UIComponent component,
                                   PhaseId phaseId)
Method Detail

getAttributes

public Map<Object,Object> getAttributes()

getComponent

public UIComponent getComponent()

getContext

public FacesContext getContext()

getException

public Throwable getException()

getListenersForEventClass

public List<SystemEventListener> getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)

Specified by:
getListenersForEventClass in interface SystemEventListenerHolder

getPhaseId

public PhaseId getPhaseId()

inAfterPhase

public boolean inAfterPhase()

inBeforePhase

public boolean inBeforePhase()


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