This helper class provides context to
the ExceptionQueuedEvent regarding the state of the system at the
point in time when the ExceptionQueuedEvent occurs and links
the ExceptionQueuedEvent to the javax.faces.context.ExceptionHandler by virtue of implementing
SystemEventListener.
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private UIComponent | |
| private FacesContext | |
| public static final String | IN_AFTER_PHASE_KEY
The presence of an entry under this
key in the |
| public static final String | IN_BEFORE_PHASE_KEY
The presence of an entry under this
key in the |
| private List | |
| private PhaseId | |
| private Throwable |
| Access | Constructor and Description |
|---|---|
| public | ExceptionQueuedEventContext(FacesContext
FacesContext for the current requestthe thrown)Throwable that is the context for
this ExceptionQueuedEventContext instance.Instantiate a new
|
| public | ExceptionQueuedEventContext(FacesContext
FacesContext for the current requestthe thrown, UIComponent Throwable that is the context for
this ExceptionQueuedEventContext instance.the component)UIComponent instance to which this
ExceptionQueuedEventContext pertainsInstantiate a new
|
| public | ExceptionQueuedEventContext(FacesContext
FacesContext for the current requestthe thrown, UIComponent Throwable that is the context for
this ExceptionQueuedEventContext instance.the component, PhaseId UIComponent that is relevant to
the context.the phaseId)PhaseId at the time this
ExeceptionEventContext is created.Instantiate a new
|
| Modifier and Type | Method and Description |
|---|---|
| public Map | Returns: attributes related to this contextA |
| public UIComponent | Returns: the componentReturn the |
| public FacesContext | |
| public Throwable | |
| public List | getListenersForEventClass(Class<? extends SystemEvent>
the class for which listeners are to be returned facesEventClass)Implements javax. Return a |
| public PhaseId | Returns: the phase idReturn the |
| public boolean | Returns: true if the exception occurred during the
after phase processing for a particular lifecycle
phase
|
| public boolean | Returns: true if the exception occurred during the
before phase processing for a particular lifecycle
phase
|
| private boolean |
| attributes | back to summary |
|---|---|
| private Map<Object, Object> attributes | |
| component | back to summary |
|---|---|
| private UIComponent component | |
| context | back to summary |
|---|---|
| private FacesContext context | |
| IN_AFTER_PHASE_KEY | back to summary |
|---|---|
| public static final String IN_AFTER_PHASE_KEY The presence of an entry under this
key in the | |
| IN_BEFORE_PHASE_KEY | back to summary |
|---|---|
| public static final String IN_BEFORE_PHASE_KEY The presence of an entry under this
key in the | |
| listener | back to summary |
|---|---|
| private List<SystemEventListener> listener | |
| phaseId | back to summary |
|---|---|
| private PhaseId phaseId | |
| thrown | back to summary |
|---|---|
| private Throwable thrown | |
| ExceptionQueuedEventContext | back to summary |
|---|---|
| public ExceptionQueuedEventContext(FacesContext context, Throwable thrown) Instantiate a new
| |
| ExceptionQueuedEventContext | back to summary |
|---|---|
| public ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component) Instantiate a new
| |
| ExceptionQueuedEventContext | back to summary |
|---|---|
| public ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId) Instantiate a new
| |
| getAttributes | back to summary |
|---|---|
| public Map A | |
| getComponent | back to summary |
|---|---|
| public UIComponent getComponent() Return the
| |
| getContext | back to summary |
|---|---|
| public FacesContext getContext() The
| |
| getException | back to summary |
|---|---|
| public Throwable getException() Return the
| |
| getListenersForEventClass | back to summary |
|---|---|
| public List Implements javax. Return a
| |
| getPhaseId | back to summary |
|---|---|
| public PhaseId getPhaseId() Return the
| |
| inAfterPhase | back to summary |
|---|---|
public boolean inAfterPhase()
| |
| inBeforePhase | back to summary |
|---|---|
public boolean inBeforePhase()
| |
| isAttributeDefined | back to summary |
|---|---|
| private boolean isAttributeDefined(String key) | |