borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.dataset
java.util.EventListener +----borland.jbcl.dataset.ExceptionListener
Methods
This class is implemented for notification that an exception is generated. This is generally implemented by data-aware controls that do not have a mechanism for handling DataSetExceptions. 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(borland.jbcl.dataset.ExceptionEvent event)
Called when a DataSetException occurs.
Parameters: