An object that describes a data access exception. DbException subclasses the Exception class.

Syntax

These objects are created automatically by dBASE Plus when an exception occurs.

Properties

The following table lists the properties of the DbException class. DbException objects also contain those properties inherited from the Exception class. (No events or methods are associated with the DbException class.) For details on each property, click on the property below.

Property

Default

Description

baseClassName

DBEXCEPTION

Identifies the object as an instance of the DbException class

className

(DBEXCEPTION)

Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName

errors

 

Array of DbError objects

Description

The DbException class is a subclass of the Exception class. It is generated when an error using a data object occurs. In addition to the dBASE Plus error code and message, it provides access to BDE and SQL server error codes and messages.