NCBI C++ ToolKit
Public Types | Public Member Functions | Static Private Member Functions | List of all members
CDB_DSEx Class Reference

Search Toolkit Book for CDB_DSEx

#include <dbapi/driver/exception.hpp>

+ Inheritance diagram for CDB_DSEx:
+ Collaboration diagram for CDB_DSEx:

Public Types

typedef int TErrCode
 
- Public Types inherited from CDB_Exception
enum  EErrCode {
  eDS, eRPC, eSQL, eDeadlock,
  eTimeout, eClient, eMulti, eTruncate
}
 Error types that can be generated. More...
 
typedef EErrCode EType
 

Public Member Functions

 CDB_DSEx (const CDiagCompileInfo &info, const CException *prev_exception, const SMessageInContext &message, EDiagSev severity, int db_err_code)
 
 CDB_DSEx (const CDB_DSEx &other)
 
virtual ~CDB_DSEx (void) throw ()
 
virtual const char * GetType (void) const
 
TErrCode GetErrCode (void) const
 
virtual CDB_ExceptionClone (void) const
 
 NCBI_EXCEPTION_DEFAULT_THROW (CDB_DSEx) protected
 
virtual const CExceptionx_Clone (void) const
 
- Public Member Functions inherited from CDB_Exception
EDB_Severity Severity (void) const
 
int GetDBErrCode (void) const
 
const char * SeverityString (void) const
 
virtual const char * GetErrCodeString (void) const
 
EType Type (void) const
 
virtual const char * TypeString () const
 
int ErrCode (void) const
 
const stringMessage (void) const
 
const stringOriginatedFrom () const
 
void SetServerName (const string &sn)
 
const stringGetServerName (void) const
 
void SetUserName (const string &name)
 
const stringGetUserName (void) const
 
void SetDatabaseName (const string &d)
 
const stringGetDatabaseName (void) const
 
const SContextGetContext (void) const
 
void ApplyContext (const SContext &ctx)
 
void SetFromConnection (const impl::CConnection &connection)
 
void SetExtraMsg (const string &msg)
 
const stringGetExtraMsg (void) const
 
void SetParams (const CDBParams *params)
 
void SetParams (const CDBParams &params)
 
CConstRef< SParamsGetParams (void) const
 
void SetSybaseSeverity (int severity)
 WARNING !!! Sybase severity value can be provided by Sybase/FreeTDS ctlib/dblib drivers only. More...
 
int GetSybaseSeverity (void) const
 
virtual void ReportExtra (ostream &out) const
 

Static Private Member Functions

static void xx_unused_CDB_DSEx (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from CDB_Exception
static const char * SeverityString (EDB_Severity sev)
 
- Protected Member Functions inherited from CDB_Exception
void x_StartOfWhat (ostream &out) const
 
void x_EndOfWhat (ostream &out) const
 
void x_Init (const CDiagCompileInfo &info, const string &message, const CException *prev_exception, EDiagSev severity)
 
virtual void x_Assign (const CException &src)
 
void x_InitCDB (int db_error_code)
 
SContextx_SetContext (void)
 
- Protected Attributes inherited from CDB_Exception
int m_DBErrCode
 

Detailed Description

Definition at line 290 of file exception.hpp.

Member Typedef Documentation

Definition at line 304 of file exception.hpp.

Constructor & Destructor Documentation

CDB_DSEx::CDB_DSEx ( const CDiagCompileInfo info,
const CException prev_exception,
const SMessageInContext message,
EDiagSev  severity,
int  db_err_code 
)
inline

Definition at line 293 of file exception.hpp.

CDB_DSEx::CDB_DSEx ( const CDB_DSEx other)
inline

Definition at line 304 of file exception.hpp.

virtual CDB_DSEx::~CDB_DSEx ( void  )
throw (
)
inlinevirtual

Definition at line 304 of file exception.hpp.

Member Function Documentation

virtual CDB_Exception* CDB_DSEx::Clone ( void  ) const
inlinevirtual

Reimplemented from CDB_Exception.

Definition at line 304 of file exception.hpp.

TErrCode CDB_DSEx::GetErrCode ( void  ) const
inline

Definition at line 304 of file exception.hpp.

virtual const char* CDB_DSEx::GetType ( void  ) const
inlinevirtual

Definition at line 304 of file exception.hpp.

CDB_DSEx::NCBI_EXCEPTION_DEFAULT_THROW ( CDB_DSEx  )
inline

Definition at line 304 of file exception.hpp.

virtual const CException* CDB_DSEx::x_Clone ( void  ) const
inlinevirtual

Definition at line 304 of file exception.hpp.

static void CDB_DSEx::xx_unused_CDB_DSEx ( void  )
staticprivate

The documentation for this class was generated from the following file:
Modified on Fri Nov 24 17:13:19 2017 by modify_doxy.py rev. 546573