ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlDatabase::Exception Class Reference

Exceptions thrown by database operations. More...

#include <SqlDatabase.h>

Inheritance diagram for SqlDatabase::Exception:
Collaboration diagram for SqlDatabase::Exception:

Public Member Functions

 Exception (const char *mesg)
 
 Exception (const std::string &mesg)
 
 Exception (const std::runtime_error &e, const ConnectionPtr &conn, const TransactionPtr &tx, const StatementPtr &stmt)
 
 Exception (const std::string &mesg, const ConnectionPtr &conn, const TransactionPtr &tx, const StatementPtr &stmt)
 
virtual ~Exception () throw ()
 
virtual const char * what () const throw ()
 
void print (std::ostream &) const
 

Public Attributes

ConnectionPtr connection
 
TransactionPtr transaction
 
StatementPtr statement
 

Private Attributes

std::string what_str
 

Detailed Description

Exceptions thrown by database operations.

Definition at line 157 of file SqlDatabase.h.

Constructor & Destructor Documentation

SqlDatabase::Exception::Exception ( const char *  mesg)
inlineexplicit

Definition at line 159 of file SqlDatabase.h.

Referenced by SqlDatabase::Connection::create().

SqlDatabase::Exception::Exception ( const std::string &  mesg)
inlineexplicit

Definition at line 160 of file SqlDatabase.h.

SqlDatabase::Exception::Exception ( const std::runtime_error &  e,
const ConnectionPtr conn,
const TransactionPtr tx,
const StatementPtr stmt 
)
inlineexplicit

Definition at line 161 of file SqlDatabase.h.

SqlDatabase::Exception::Exception ( const std::string &  mesg,
const ConnectionPtr conn,
const TransactionPtr tx,
const StatementPtr stmt 
)
inlineexplicit

Definition at line 164 of file SqlDatabase.h.

virtual SqlDatabase::Exception::~Exception ( )
throw (
)
inlinevirtual

Definition at line 168 of file SqlDatabase.h.

Member Function Documentation

virtual const char* SqlDatabase::Exception::what ( ) const
throw (
)
virtual
void SqlDatabase::Exception::print ( std::ostream &  ) const

Member Data Documentation

ConnectionPtr SqlDatabase::Exception::connection

Definition at line 171 of file SqlDatabase.h.

TransactionPtr SqlDatabase::Exception::transaction

Definition at line 172 of file SqlDatabase.h.

StatementPtr SqlDatabase::Exception::statement

Definition at line 173 of file SqlDatabase.h.

std::string SqlDatabase::Exception::what_str
mutableprivate

Definition at line 175 of file SqlDatabase.h.


The documentation for this class was generated from the following file: