Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (Français) » UltraLite - M-Business Anywhere Programming » Understanding UltraLite for M-Business Anywhere development


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 Messages d'erreur.

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: