Package jakarta.faces.event
Class ExceptionQueuedEventContext
- java.lang.Object
-
- jakarta.faces.event.ExceptionQueuedEventContext
-
- All Implemented Interfaces:
SystemEventListenerHolder
public class ExceptionQueuedEventContext extends Object implements SystemEventListenerHolder
- Since:
- 2.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringIN_AFTER_PHASE_KEYstatic StringIN_BEFORE_PHASE_KEY
-
Constructor Summary
Constructors Constructor Description ExceptionQueuedEventContext(FacesContext context, Throwable thrown)ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component)ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Object,Object>getAttributes()UIComponentgetComponent()FacesContextgetContext()ThrowablegetException()List<SystemEventListener>getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)PhaseIdgetPhaseId()booleaninAfterPhase()booleaninBeforePhase()
-
-
-
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
-
getComponent
public UIComponent getComponent()
-
getContext
public FacesContext getContext()
-
getException
public Throwable getException()
-
getListenersForEventClass
public List<SystemEventListener> getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)
- Specified by:
getListenersForEventClassin interfaceSystemEventListenerHolder
-
getPhaseId
public PhaseId getPhaseId()
-
inAfterPhase
public boolean inAfterPhase()
-
inBeforePhase
public boolean inBeforePhase()
-
-