| Home | How To | Online Documentation | Support | Download | Order |
|
|
SAErrorClass_t ErrClass() const; Returns a class of error. Return valuesOne of the following values from SAErrorClass_t enum:
RemarksA SAException object handles the next error classes:
The Library errors are generated by the Library itself. It can be like detecting some mistake in passing arguments to the function or referencing the parameter with an inappropriate name. To get a Library-defined error text call ErrText method. The DBMS API errors come to the Library from the DBMS Client or Server. In this case the Library returns an error code and text Client- or Server-defined. To get error code and error text returned by the server call ErrNativeCode and ErrText methods. The User-generated exception is "SQLAPI++ compatible" exception thrown by the user. To throw user exception use throwUserException method. Server specific notesNo specific information. See alsoErrText, ErrNativeCode, throwUserException Problems and QuestionsIf 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. |
|||||||||||||||||||