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

SQL Anywhere 12.0.0 (中文) » UltraLite - M-Business Anywhere 编程 » 了解 UltraLite for M-Business Anywhere 开发

 

处理错误

在正常运行情况下,UltraLite for M-Business Anywhere 可以抛出旨在脚本环境中捕获和处理的错误。请参见错误消息

错误会表示为 SQLCODE 值,用负数来表明错误的具体种类。

UltraLite for M-Business Anywhere 仅从 DatabaseManager 和 Connection 对象中抛出错误。以下这些 DatabaseManager 的方法可以抛出错误:

UltraLite for M-Business Anywhere 中的所有其它错误和异常都会通过 Connection 对象来路由。

您可以从 DatabaseManager 和 Connection 对象中访问错误号。请参见: