odbc::SQLException Class Reference
List of all members.
Detailed Description
The exception thrown when errors occur inside the library.
Definition at line 695 of file types.h.
|
Public Member Functions |
|
int | getErrorCode () const |
| | Get the vendor error code of this exception.
|
|
int | getErrorCode () const |
| | Get the vendor error code of this exception.
|
|
const ODBCXX_STRING & | getMessage () const |
| | Gets the description of this message.
|
|
const ODBCXX_STRING & | getMessage () const |
| | Gets the description of this message.
|
| const ODBCXX_STRING & | getSQLState () const |
| | Gets the SQLSTATE of this exception.
|
| const ODBCXX_STRING & | getSQLState () const |
| | Gets the SQLSTATE of this exception.
|
|
| SQLException (const DriverMessage &dm) |
| | Copy from a DriverMessage.
|
|
| SQLException (const ODBCXX_STRING &reason=ODBCXX_STRING_CONST(""), const ODBCXX_STRING &sqlState=ODBCXX_STRING_CONST(""), int vendorCode=0) |
| | Constructor.
|
|
| SQLException (const DriverMessage &dm) |
| | Copy from a DriverMessage.
|
|
| SQLException (const ODBCXX_STRING &reason=ODBCXX_STRING_CONST(""), const ODBCXX_STRING &sqlState=ODBCXX_STRING_CONST(""), int vendorCode=0) |
| | Constructor.
|
|
virtual const char * | what () const throw () |
| | Gets the description of this message.
|
|
virtual const char * | what () const throw () |
| | Gets the description of this message.
|
|
virtual | ~SQLException () throw () |
| | Destructor.
|
|
virtual | ~SQLException () throw () |
| | Destructor.
|
Member Function Documentation
| const ODBCXX_STRING& odbc::SQLException::getSQLState |
( |
|
) |
const [inline] |
Gets the SQLSTATE of this exception.
Consult your local ODBC reference for SQLSTATE values.
Definition at line 746 of file types.h.
| const ODBCXX_STRING& odbc::SQLException::getSQLState |
( |
|
) |
const [inline] |
Gets the SQLSTATE of this exception.
Consult your local ODBC reference for SQLSTATE values.
Definition at line 746 of file types.h.
The documentation for this class was generated from the following files: