#include <RDBC/blob/master/include/RDBC/odbc++/errorhandler.h>
|
| void | _postWarning (SQLWarning *w) |
| |
| void | _checkErrorODBC2 (SQLHENV henv, SQLHDBC hdbc, SQLHSTMT hstmt, SQLRETURN r, const ODBCXX_STRING &what) |
| |
| void | _checkStmtError (SQLHSTMT hstmt, SQLRETURN r, const char *what="") |
| |
| void | _checkConError (SQLHDBC hdbc, SQLRETURN r, const char *what="") |
| |
| void | _checkEnvError (SQLHENV henv, SQLRETURN r, const char *what="") |
| |
| | ErrorHandler (bool collectWarnings=true) |
| |
Base class for everything that might contain warnings
Definition at line 32 of file errorhandler.h.
View newest version in sPHENIX GitHub at line 32 of file errorhandler.h
| odbc::ErrorHandler::ErrorHandler |
( |
bool |
collectWarnings = true | ) |
|
|
protected |
| virtual odbc::ErrorHandler::~ErrorHandler |
( |
| ) |
|
|
virtual |
| void odbc::ErrorHandler::_checkConError |
( |
SQLHDBC |
hdbc, |
|
|
SQLRETURN |
r, |
|
|
const char * |
what = "" |
|
) |
| |
|
inlineprotected |
| void odbc::ErrorHandler::_checkEnvError |
( |
SQLHENV |
henv, |
|
|
SQLRETURN |
r, |
|
|
const char * |
what = "" |
|
) |
| |
|
inlineprotected |
| void odbc::ErrorHandler::_checkErrorODBC2 |
( |
SQLHENV |
henv, |
|
|
SQLHDBC |
hdbc, |
|
|
SQLHSTMT |
hstmt, |
|
|
SQLRETURN |
r, |
|
|
const ODBCXX_STRING & |
what |
|
) |
| |
|
protected |
| void odbc::ErrorHandler::_checkStmtError |
( |
SQLHSTMT |
hstmt, |
|
|
SQLRETURN |
r, |
|
|
const char * |
what = "" |
|
) |
| |
|
inlineprotected |
| void odbc::ErrorHandler::_postWarning |
( |
SQLWarning * |
w | ) |
|
|
protected |
| void odbc::ErrorHandler::clearWarnings |
( |
| ) |
|
Clears all the warnings stored in this object
Fetches all the warnings in this object. The caller is responsive for deleteing the returned object.
| friend class DataStreamBuf |
|
friend |
| bool odbc::ErrorHandler::collectWarnings_ |
|
private |
| PD* odbc::ErrorHandler::pd_ |
|
private |
The documentation for this class was generated from the following file: