borland Packages Class Hierarchy dx.dataset Package
java.lang.Object +----java.util.EventObject +----com.borland.jb.util.DispatchableEvent +----com.borland.dx.dataset.ExceptionEvent
Variables Constructors Properties Methods
Implements Serializable
This class is used to override the DataSet
error handling for data-aware controls.
public ExceptionEvent(DataSet dataSet, Component component, Throwable ex)Constructs an
ExceptionEvent
object with the following parameters:
dataSet
DataSet
being accessed when this error occurred.
component
Component
on which the exception occurred.
ex
Exception
that occurred.
public Component getComponent()
Component
that was being accessed when the exception occurred. Can be null.
public DataSet getDataSet()
DataSet
that was being accessed when the exception occurred. Can be null.
public Throwable getException()
Exception
that occurred.
public void dispatch(EventListener listener)This method is an implementation of
DispatchableEvent
that an EventMulticaster
uses to dispatch an event of this type to the listener.
listener
com.borland.jb.util.DispatchableEvent
, com.borland.jb.util.EventMulticaster