Class ExceptionQueuedEvent
- All Implemented Interfaces:
Serializable
The system event facility will create an
instance of this class whenever Application.publishEvent(javax.faces.context.FacesContext, java.lang.Class<? extends javax.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.
- Since:
- 2.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionExceptionQueuedEvent
(FacesContext facesContext, ExceptionQueuedEventContext eventContext) Instantiate a newExceptionQueuedEvent
that indicates the argumentExceptionQueuedEventContext
occurred.ExceptionQueuedEvent
(ExceptionQueuedEventContext eventContext) Instantiate a newExceptionQueuedEvent
that indicates the argumentExceptionQueuedEventContext
occurred. -
Method Summary
Modifier and TypeMethodDescriptionReturn theExceptionQueuedEventContext
for this event instance.Methods inherited from class javax.faces.event.SystemEvent
getFacesContext, isAppropriateListener, processListener
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ExceptionQueuedEvent
Instantiate a new
ExceptionQueuedEvent
that indicates the argumentExceptionQueuedEventContext
occurred.- Parameters:
eventContext
- theExceptionQueuedEventContext
that contextualizes thisExceptionQueuedEvent
.- Since:
- 2.0
-
ExceptionQueuedEvent
Instantiate a new
ExceptionQueuedEvent
that indicates the argumentExceptionQueuedEventContext
occurred.- Parameters:
facesContext
- the Faces context.eventContext
- theExceptionQueuedEventContext
that contextualizes thisExceptionQueuedEvent
.- Since:
- 2.0
-
-
Method Details
-
getContext
Return the
ExceptionQueuedEventContext
for this event instance.- Returns:
- the context
- Since:
- 2.0
-