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: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Simon Lessard (latest modification by $Author: bommel $)

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 © 2014 The Apache Software Foundation. All Rights Reserved.