public class ExceptionQueuedEvent extends SystemEvent
The system event facility will create an instance of this class whenever
Application.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)
is called with ExceptionQueuedEvent.class
as
systemEventClass
argument. In this case, an instance of ExceptionQueuedEventContext
must be
passed as the source
argument. The specification for publishEvent()
, requires the
instantiation of the systemEventClass
argument, passing the source
argument to the
constructor.
source
Constructor and Description |
---|
ExceptionQueuedEvent(ExceptionQueuedEventContext eventContext)
Instantiate a new |
ExceptionQueuedEvent(FacesContext facesContext,
ExceptionQueuedEventContext eventContext)
Instantiate a new |
Modifier and Type | Method and Description |
---|---|
ExceptionQueuedEventContext |
getContext()
Return the |
getFacesContext, isAppropriateListener, processListener
getSource, toString
public ExceptionQueuedEvent(ExceptionQueuedEventContext eventContext)
Instantiate a new ExceptionQueuedEvent
that indicates the argument
ExceptionQueuedEventContext
occurred.
eventContext
- the ExceptionQueuedEventContext
that contextualizes this
ExceptionQueuedEvent
.public ExceptionQueuedEvent(FacesContext facesContext, ExceptionQueuedEventContext eventContext)
Instantiate a new ExceptionQueuedEvent
that indicates the argument
ExceptionQueuedEventContext
occurred.
facesContext
- the Faces context.eventContext
- the ExceptionQueuedEventContext
that contextualizes this
ExceptionQueuedEvent
.public ExceptionQueuedEventContext getContext()
Return the ExceptionQueuedEventContext
for this event instance.
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.