Contents Index Item property Errors property

ASA Programming Guide
  Adaptive Server Anywhere .NET Data Provider API Reference

AsaException class


Description 

The exception that is thrown when Adaptive Server Anywhere returns a warning or error.

Base classes 

SystemException

There is no constructor for AsaException. Typically, an AsaException object is declared in a catch. For example:

...
catch( AsaException ex )
{
    MessageBox.Show( ex.Errors[0].Message, "Error" );
}
See also 

Error handling and the Adaptive Server Anywhere .NET data provider


Errors property
GetObjectData method
Message property
Source property

Contents Index Item property Errors property