Class ExceptionQueuedEvent
- All Implemented Interfaces:
Serializable
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.
- Since:
- 2.0
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ExceptionQueuedEvent(FacesContext facesContext, ExceptionQueuedEventContext eventContext)Instantiate a newExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred.ExceptionQueuedEvent(ExceptionQueuedEventContext eventContext)Instantiate a newExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred. -
Method Summary
Modifier and Type Method Description ExceptionQueuedEventContextgetContext()Return theExceptionQueuedEventContextfor this event instance.Methods inherited from class jakarta.faces.event.SystemEvent
getFacesContext, isAppropriateListener, processListener
-
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
-