Class ExceptionQueuedEvent
- java.lang.Object
- 
- java.util.EventObject
- 
- jakarta.faces.event.SystemEvent
- 
- jakarta.faces.event.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 withExceptionQueuedEvent.classassystemEventClassargument. In this case, an instance ofExceptionQueuedEventContextmust be passed as thesourceargument. The specification forpublishEvent(), requires the instantiation of thesystemEventClassargument, passing thesourceargument to the constructor.- Since:
- 2.0
- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class java.util.EventObjectsource
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExceptionQueuedEvent(FacesContext facesContext, ExceptionQueuedEventContext eventContext)Instantiate a newExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred.ExceptionQueuedEvent(ExceptionQueuedEventContext eventContext)Instantiate a newExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionQueuedEventContextgetContext()Return theExceptionQueuedEventContextfor this event instance.- 
Methods inherited from class jakarta.faces.event.SystemEventgetFacesContext, isAppropriateListener, processListener
 - 
Methods inherited from class java.util.EventObjectgetSource, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ExceptionQueuedEventpublic ExceptionQueuedEvent(ExceptionQueuedEventContext eventContext) Instantiate a new ExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred.- Parameters:
- eventContext- the- ExceptionQueuedEventContextthat contextualizes this- ExceptionQueuedEvent.
- Since:
- 2.0
 
 - 
ExceptionQueuedEventpublic ExceptionQueuedEvent(FacesContext facesContext, ExceptionQueuedEventContext eventContext) Instantiate a new ExceptionQueuedEventthat indicates the argumentExceptionQueuedEventContextoccurred.- Parameters:
- facesContext- the Faces context.
- eventContext- the- ExceptionQueuedEventContextthat contextualizes this- ExceptionQueuedEvent.
- Since:
- 2.0
 
 
- 
 - 
Method Detail- 
getContextpublic ExceptionQueuedEventContext getContext() Return the ExceptionQueuedEventContextfor this event instance.- Returns:
- the context
- Since:
- 2.0
 
 
- 
 
-