Collection Contents Previous Next PDF

UltraLite.NET User's Guide

Understanding UltraLite.NET Development

Error handling


You can use the standard .NET error-handling features to handle errors. Most iAnywhere.Data.UltraLite namespace methods throw ULException errors. You can use ULException.NativeError to retrieve the ULSQLCode value assigned to this error. Most iAnywhere.UltraLite namespace methods throw SQLException errors. You can use SQLException.ErrorCode to retrieve the SQLCode value assigned to this error. Both ULException and SQLException have a Message property which you can use to obtain a descriptive text of the error. ULSQLCode and SQLCode errors are negative numbers indicating the error type.

For a list of error codes, see ASA Error Messages.

After synchronization, you can use the SyncResult property of the connection to obtain more detailed error information.

For more information, see the following:


Collection Contents Previous Next PDF