Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

pqxxobject::DatabaseError Class Reference

A backend database error. More...

#include <exceptions.h>

Inheritance diagram for pqxxobject::DatabaseError:

runtime_error List of all members.

Public Member Functions

 DatabaseError (const std::string &what_arg)
 Throw a database error.


Detailed Description

A backend database error.

This exception is thown by all database-interacting classes in the case that the backend database caused libpqxx to throw an exception, or in the case of a runtime error in the database logic.

Definition at line 53 of file exceptions.h.


Constructor & Destructor Documentation

pqxxobject::DatabaseError::DatabaseError const std::string &  what_arg  )  [inline, explicit]
 

Throw a database error.

Parameters:
what_arg a description of the error.

Definition at line 61 of file exceptions.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 1 10:37:56 2004 for pqxx-object API Reference by doxygen 1.3.5