Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

sql_error Class Reference

Exception class for failed queries. More...

#include <except.h>

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
 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

sql_error::sql_error  
 

sql_error::sql_error const PGSTD::string &    whatarg
 

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

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


Member Function Documentation

const PGSTD::string& sql_error::query   const
 

The query whose execution triggered the exception.


The documentation for this class was generated from the following file:
Generated on Sat May 10 18:53:39 2003 for libpqxx by doxygen1.3-rc3