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

Dv::Sql::Exception Class Reference

Exception class used throughout the package. More...

#include <sqldb.h>

List of all members.

Public Member Functions

 Exception (const std::string &message)
 Constructor, prepends NAME to message to obtain runtime_error::what().


Static Public Attributes

const std::string NAME
 Name of class, is prepended to each message argument of the constructor.


Detailed Description

Exception class used throughout the package.

Derived from runtime_error, i.e. the only useful member function is Dv::Sql::Exception::what() which returns constant C string describing the error.

Most exceptions thrown are really logical errors (i.e. errors in the application or package source code).

Definition at line 63 of file sqldb.h.


Constructor & Destructor Documentation

Dv::Sql::Exception::Exception const std::string &  message  )  [inline]
 

Constructor, prepends NAME to message to obtain runtime_error::what().

Definition at line 68 of file sqldb.h.

References NAME.


Member Data Documentation

const std::string Dv::Sql::Exception::NAME [static]
 

Name of class, is prepended to each message argument of the constructor.

Definition at line 66 of file sqldb.h.

Referenced by Exception().


The documentation for this class was generated from the following file:
dvmysql-0.4.11 [15 February, 2004]