Handling errors

In normal operation, UltraLite for M-Business Anywhere can throw errors that are intended to be caught and handled in the script environment. See SQLError class.

Errors are expressed as SQLCODE values, negative numbers indicating the particular kind of error.

UltraLite for M-Business Anywhere throws errors only from the DatabaseManager and Connection objects. The following methods of DatabaseManager can throw errors:

All other errors and exceptions within UltraLite for M-Business Anywhere are routed through the Connection object.

You can access error numbers from DatabaseManager and Connection objects. See: