javax.faces.event
Class ExceptionEvent
java.lang.Object
java.util.EventObject
javax.faces.event.SystemEvent
javax.faces.event.ExceptionEvent
- All Implemented Interfaces:
- Serializable
public class ExceptionEvent
- extends SystemEvent
The system event facility will create an
instance of this class whenever Application.publishEvent(java.lang.Class extends javax.faces.event.SystemEvent>, java.lang.Object)
is called with
ExceptionEvent.class
as systemEventClass
argument. In this case, an instance of ExceptionEventContext
is 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
ExceptionEvent
public ExceptionEvent(ExceptionEventContext eventContext)
Instantiate a new
ExceptionEvent
that indicates the argument
ExceptionEventContext
occurred.
- Parameters:
eventContext
- the ExceptionEventContext
that
contextualizes this ExceptionEvent
.- Since:
- 2.0
getContext
public ExceptionEventContext getContext()
Return the
ExceptionEventContext
for this event instance.
- Since:
- 2.0
Copyright © 2002-2008 Sun Microsystems, Inc. All Rights Reserved.