#include <CDB.h>
Public Member Functions | |
| CDBquery * | caller () |
| Readonly access to query instance that throws the exception. | |
| CEXquery (CDBquery *c) | |
| CEXquery () | |
Private Attributes | |
| CDBquery * | mcaller |
Catch this exception to handle errors made with calls to the query client interface. Example:
...
catch(CEXquery &e) {
std::cerr << e.caller()->sqlerr() << endl;
// if the query was dynamically allocated with new you can call
delete e.caller();
}
...
|
|
|
|
|
|
|
|
Readonly access to query instance that throws the exception.
|
|
|
|
1.4.4