odbc::ErrorHandler Class Reference

Inheritance diagram for odbc::ErrorHandler:

odbc::Connection odbc::Connection odbc::ResultSet odbc::ResultSet odbc::Statement odbc::Statement odbc::PreparedStatement odbc::PreparedStatement odbc::PreparedStatement odbc::PreparedStatement odbc::CallableStatement odbc::CallableStatement odbc::CallableStatement odbc::CallableStatement odbc::CallableStatement odbc::CallableStatement odbc::CallableStatement odbc::CallableStatement List of all members.

Detailed Description

Base class for everything that might contain warnings.

Definition at line 32 of file errorhandler.h.

Public Member Functions

void clearWarnings ()
 Clears all the warnings stored in this object.
void clearWarnings ()
 Clears all the warnings stored in this object.
WarningListgetWarnings ()
 Fetches all the warnings in this object.
WarningListgetWarnings ()
 Fetches all the warnings in this object.
virtual ~ErrorHandler ()
 Destructor.
virtual ~ErrorHandler ()
 Destructor.

Protected Member Functions

void _checkConError (SQLHDBC hdbc, SQLRETURN r, const ODBCXX_CHAR_TYPE *what=ODBCXX_STRING_CONST(""))
void _checkConError (SQLHDBC hdbc, SQLRETURN r, const ODBCXX_CHAR_TYPE *what=ODBCXX_STRING_CONST(""))
void _checkEnvError (SQLHENV henv, SQLRETURN r, const ODBCXX_CHAR_TYPE *what=ODBCXX_STRING_CONST(""))
void _checkEnvError (SQLHENV henv, SQLRETURN r, const ODBCXX_CHAR_TYPE *what=ODBCXX_STRING_CONST(""))
void _checkStmtError (SQLHSTMT hstmt, SQLRETURN r, const ODBCXX_CHAR_TYPE *what=ODBCXX_STRING_CONST(""))
void _checkStmtError (SQLHSTMT hstmt, SQLRETURN r, const ODBCXX_CHAR_TYPE *what=ODBCXX_STRING_CONST(""))
 ErrorHandler (bool collectWarnings=true)
 Constructor.
 ErrorHandler (bool collectWarnings=true)
 Constructor.


Member Function Documentation

WarningList* odbc::ErrorHandler::getWarnings (  ) 

Fetches all the warnings in this object.

The caller is responsive for deleteing the returned object.

WarningList* odbc::ErrorHandler::getWarnings (  ) 

Fetches all the warnings in this object.

The caller is responsive for deleteing the returned object.


The documentation for this class was generated from the following files:
GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy