UltraLite ActiveX User's Guide
Understanding UltraLite ActiveX Development
In normal operation, UltraLite ActiveX can throw errors that are intended to be caught and handled in the script environment. Errors are expressed as SQLCODE values, negative numbers indicating the particular kind of error.
For a list of error codes thrown by UltraLite ActiveX, see ULSQLCode enumeration.
UltraLite ActiveX throws errors from only the ULDatabaseManager and ULConnection objects. The following methods of ULDatabaseManager can throw errors.
CreateDatabase
CreateDatabaseWithParms
DropDatabase
DropDatabaseWithParms
OpenConnection
OpenConnectionWithParms
All other errors and exceptions within UltraLite ActiveX are routed through the ULConnection object.
For more information about accessing error numbers from ULDatabaseManager and ULConnection objects, see ULConnection class and ULDatabaseManager class.
The following sections explain how to implement error handling in eMbedded Visual Basic and JScript.
Error handling in eMbedded Visual Basic
Error handling in JScript