| 
Public Member Functions | 
|  | sql_error () | 
|  | sql_error (const std::string &) | 
|  | sql_error (const std::string &, const std::string &Q) | 
| virtual | ~sql_error ()  throw () | 
| const std::string &PQXX_PURE | query () const   throw () | 
|  | The query whose execution triggered the exception. 
 | 
|  | failure (const std::string &) | 
| virtual | ~pqxx_exception ()=0  throw () | 
|  | Support run-time polymorphism, and keep this class abstract. 
 | 
| virtual const PQXX_CONST std::exception &
 | base () const =0  throw () | 
|  | Return std::exception base-class object. 
 | 
Exception class for failed queries. 
Carries a copy of the failed query in addition to a regular error message