borland Packages Class Hierarchy dx.dataset Package
java.util.EventListener +----com.borland.dx.dataset.ExceptionListener
Methods
This interface is implemented for notification that an exception is generated. This is generally implemented by applications that want centralized control over the handling of DataSetExceptions encountered by data-aware controls. When a data-aware control gets an exception from a data set, the default handleException method has control and may display a dialog box with the exception or may treat it as a ValidationException. This class is used to allow you to decide how to handle the exception.
The reference to this listener is statically stored in the DataSet class. If the DataSet class is ever garbage collected, the registration of this listener will be lost. To prevent this, you can hold a reference to the DataSet class with the following statement:
Void main(String args){
Object classHolder = DataSet.class;
}
public void exception(ExceptionEvent event)
Called when a DataSetException occurs.