#include <except.hxx>
Public Member Functions |
| syntax_error (const std::string &err, int pos=-1) |
| syntax_error (const std::string &err, const std::string &Q, int pos=-1) |
| 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.
|
Public Attributes |
const int | error_position |
| Approximate position in string where error occurred, or -1 if unknown.
|
Constructor & Destructor Documentation
pqxx::syntax_error::syntax_error |
( |
const std::string & |
err, |
|
|
int |
pos = -1 |
|
) |
| |
|
explicit |
pqxx::syntax_error::syntax_error |
( |
const std::string & |
err, |
|
|
const std::string & |
Q, |
|
|
int |
pos = -1 |
|
) |
| |
Member Data Documentation
const int pqxx::syntax_error::error_position |
Approximate position in string where error occurred, or -1 if unknown.
The documentation for this class was generated from the following file: