Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

CEXquery Class Reference

Exception class for CDBquery. More...

#include <CDB.h>


Public Member Functions

CDBquerycaller ()
 Readonly access to query instance that throws the exception.
 CEXquery (CDBquery *c)
 CEXquery ()

Private Attributes

CDBquerymcaller


Detailed Description

Exception class for CDBquery.

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();
 }
 ...
 


Constructor & Destructor Documentation

CEXquery  )  [inline]
 

CEXquery CDBquery c  )  [inline]
 


Member Function Documentation

CDBquery* caller  )  [inline]
 

Readonly access to query instance that throws the exception.


Field Documentation

CDBquery* mcaller [private]
 


Generated on Mon Feb 6 00:30:32 2006 for CDB by  doxygen 1.4.4