Public Member Functions | Protected Member Functions | Private Attributes

ivd_DBException Class Reference
[Resource Manager Database Library]

#include <rmdb.h>

Inheritance diagram for ivd_DBException:
Inheritance graph
Collaboration diagram for ivd_DBException:
Collaboration graph

List of all members.

Public Member Functions

 ivd_DBException (const int a_sqlErr, const string &a_description="", bool a_logError=false) throw ()
virtual ~ivd_DBException () throw ()

Protected Member Functions

virtual string GetErrorText () const
 Member function to supply ivd_Exception::m_errorText.

Private Attributes


Detailed Description

Definition at line 104 of file rmdb.h.

Constructor & Destructor Documentation

ivd_DBException::ivd_DBException ( const int  a_sqlErr,
const string &  a_description = "",
bool  a_logError = false 
) throw ()

Definition at line 52 of file rm_dbexception.cpp.

References s_className.

    : ivd_Exception(a_sqlErr, a_description, a_logError)  {


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

Definition at line 59 of file rm_dbexception.cpp.


Member Function Documentation

string ivd_DBException::GetErrorText (  )  const [protected, virtual]

Member function to supply ivd_Exception::m_errorText.

Reimplemented from ivd_BaseException.

Definition at line 62 of file rm_dbexception.cpp.

References ivd_BaseException::m_error.

    char errBuf[256];
    isc_sql_interprete(m_error, errBuf, sizeof(errBuf) );
    return string(errBuf);

Member Data Documentation

Reimplemented from ivd_Exception.

Definition at line 117 of file rmdb.h.

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