| Home | How To | Online Documentation | Support | Download | Order |
|
|
static void throwUserException( int
nUserCode , const char *lpszFormat , ... ); Throws an exception to stop an end-user operation. ParametersnUserCode. An integer value of user-defined error code. lpszFormat. A format-control string. RemarksCall throwUserException method to use the throw/catch exception mechanism for application-specific exceptions and to write formatted data to error text in the same way that sprintf formats data into a C-style character array. throwUserException method throws an exception of SAUserException class derived from SQLAPI++ SAException class. That's why user exception can be handled by usual SAException handler. Server specific notesNo specific information. 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. |
||||||||||||||||||