|
libpqxx
4.0.1
|
Exception class for failed queries. More...
#include <except.hxx>
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. More... | |
Public Member Functions inherited from pqxx::failure | |
| failure (const std::string &) | |
Public Member Functions inherited from pqxx::pqxx_exception | |
| virtual | ~pqxx_exception ()=0 throw () |
| Support run-time polymorphism, and keep this class abstract. More... | |
Exception class for failed queries.
Carries a copy of the failed query in addition to a regular error message
| pqxx::sql_error::sql_error | ( | ) |
|
explicit |
| pqxx::sql_error::sql_error | ( | const std::string & | whatarg, |
| const std::string & | Q | ||
| ) |
|
virtual | |||||||||||||
| const string &PQXX_CONST pqxx::sql_error::query | ( | ) | const | |
| throw | ( | |||
| ) | ||||
The query whose execution triggered the exception.