Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

pqxx::sql_error Class Reference

Exception class for failed queries. More...

#include <except.hxx>

List of all members.

Public Member Functions

 sql_error ()
 sql_error (const PGSTD::string &whatarg)
 sql_error (const PGSTD::string &whatarg, const PGSTD::string &Q)
virtual ~sql_error () throw ()
const PGSTD::string & query () const throw ()
 The query whose execution triggered the exception.


Detailed Description

Exception class for failed queries.

Carries a copy of the failed query in addition to a regular error message


Constructor & Destructor Documentation

pqxx::sql_error::sql_error  ) 
 

pqxx::sql_error::sql_error const PGSTD::string &  whatarg  )  [explicit]
 

pqxx::sql_error::sql_error const PGSTD::string &  whatarg,
const PGSTD::string &  Q
 

virtual pqxx::sql_error::~sql_error  )  throw () [virtual]
 


Member Function Documentation

const PGSTD::string& pqxx::sql_error::query  )  const throw ()
 

The query whose execution triggered the exception.


The documentation for this class was generated from the following file:
Generated on Mon Nov 15 11:28:03 2004 for libpqxx by  doxygen 1.3.9.1