Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SAException::ErrNativeCode

int ErrNativeCode() const;

Gets a native code associated with current error.

Return values

An integer value represents a native code associated with current error.

Remarks

A native error code depends on a class of error.

If error class is DBMS API error the ErrNativeCode method returns error code received from DBMS Server or Client. If error class is User-defined error the ErrNativeCode method returns an error code specified by user (see throwUserException method). If error class is Library error the ErrNativeCode method returns -1 or any special code defined in SALibraryErrorType_t enum.

To get the error class call ErrClass method.

Server specific notes

See server specific documentation to get more information about DBMS API error code.

See also

ErrClass, ErrText, throwUserException

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.