borland Packages Class Hierarchy dx.dataset Package
ExceptionEvent class
java.lang.Object
+----java.util.EventObject
+----com.borland.jb.util.DispatchableEvent
+----com.borland.dx.dataset.ExceptionEvent
About the ExceptionEvent class
Variables Constructors Properties Methods
Implements Serializable
This class is used to override the DataSet error handling for data-aware controls.
ExceptionEvent variables
Variables implemented in java.util.EventObject
ExceptionEvent constructors
ExceptionEvent properties
*Read-only properties **Write-only properties
Properties implemented in this class
Properties implemented in java.lang.Object
Properties implemented in java.util.EventObject
ExceptionEvent methods
Methods implemented in this class
Methods implemented in java.lang.Object
- clone()
- equals(java.lang.Object)
- finalize()
- hashCode()
- notify()
- notifyAll()
- wait()
- wait(long)
- wait(long, int)
ExceptionEvent constructors
ExceptionEvent(com.borland.dx.dataset.DataSet, java.awt.Component, java.lang.Throwable)
public ExceptionEvent(DataSet dataSet, Component component, Throwable ex)
Constructs an ExceptionEvent object with the following parameters:
Parameters:
- dataSet
- The DataSet being accessed when this error occurred.
- component
- The Component on which the exception occurred.
- ex
- The Exception that occurred.
ExceptionEvent properties
component
public Component getComponent()
Component that was being accessed when the exception occurred. Can be null.
dataSet
public DataSet getDataSet()
DataSet that was being accessed when the exception occurred. Can be null.
exception
public Throwable getException()
Exception that occurred.
ExceptionEvent methods
dispatch(java.util.EventListener)
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.
Parameters:
- listener
- The listener to dispatch this event to.
See also:
com.borland.jb.util.DispatchableEvent, com.borland.jb.util.EventMulticaster
Overrides:
com.borland.jb.util.DispatchableEvent.dispatch(java.util.EventListener)