VisualIB
1.0
IBExpress library for making use of Borland IBExpress outside of C++Builder
|
IBError is thrown when InterBase errors occur. More...
#include <classVIBError.h>
Public Member Functions | |
IBError () | |
Default constructor, invoked if an unexpected error occurs. | |
IBError (const char *msg, int pIBErrorCode, int pSQLCode) | |
C string constructor. | |
IBError (const std::string &msg, int pIBErrorCode, int pSQLCode) | |
C++ string object constructor. | |
int | getIBErrorCode () const |
Obtain the InterBase API error code for the exception. | |
int | getSQLCode () const |
Obtain the standard SQL error code for the exception. | |
Public Member Functions inherited from VIB::Error | |
Error () | |
Default constructor, call when there is no message to give. | |
Error (const char *msg) | |
Construct an error with a C string error message. | |
Error (const std::string &msg) | |
Construct an error with a C++ string error message. | |
const std::string & | getErrorMsg () const |
Obtain the message associated with the exception. | |
Protected Attributes | |
int | IBErrorCode |
InterBase API error code. | |
int | SQLCode |
SQL error code, if the exception is a standard SQL error. | |
Protected Attributes inherited from VIB::Error | |
std::string | errormsg |
Message associated with the error. | |
IBError is thrown when InterBase errors occur.