Class ExceptionQueuedEvent
java.lang.Object
java.util.EventObject
jakarta.faces.event.SystemEvent
jakarta.faces.event.ExceptionQueuedEvent
- All Implemented Interfaces:
Serializable
The system event facility will create an instance of this class whenever
Application.publishEvent(FacesContext, Class, 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 EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionExceptionQueuedEvent(FacesContext facesContext, ExceptionQueuedEventContext eventContext) Instantiate a newExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred.ExceptionQueuedEvent(ExceptionQueuedEventContext eventContext) Instantiate a newExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred. -
Method Summary
Modifier and TypeMethodDescriptionReturn theExceptionQueuedEventContextfor this event instance.Methods inherited from class SystemEvent
getFacesContext, isAppropriateListener, processListenerModifier and TypeMethodDescriptionGet the Faces context.booleanisAppropriateListener(FacesListener listener) Returntrueif thisFacesListeneris an instance of a the appropriate listener class that this event supports.voidprocessListener(FacesListener listener) Broadcast this event instance to the specifiedFacesListener, by whatever mechanism is appropriate.Methods inherited from class EventObject
getSource, toString
-
Constructor Details
-
ExceptionQueuedEvent
Instantiate a new
ExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred.- Parameters:
eventContext- theExceptionQueuedEventContextthat contextualizes thisExceptionQueuedEvent.- Since:
- 2.0
-
ExceptionQueuedEvent
Instantiate a new
ExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred.- Parameters:
facesContext- the Faces context.eventContext- theExceptionQueuedEventContextthat contextualizes thisExceptionQueuedEvent.- Since:
- 2.0
-
-
Method Details
-
getContext
Return the
ExceptionQueuedEventContextfor this event instance.- Returns:
- the context
- Since:
- 2.0
-