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

Search Toolkit Book for CDB_DeadlockEx

#include <dbapi/driver/exception.hpp>

+ Inheritance diagram for CDB_DeadlockEx:
+ Collaboration diagram for CDB_DeadlockEx:

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_DeadlockEx (const CDiagCompileInfo &info, const CException *prev_exception, const SMessageInContext &message)
 
 CDB_DeadlockEx (const CDB_DeadlockEx &other)
 
virtual ~CDB_DeadlockEx (void) throw ()
 
virtual const char * GetType (void) const
 
TErrCode GetErrCode (void) const
 
virtual CDB_ExceptionClone (void) const
 
 NCBI_EXCEPTION_DEFAULT_THROW (CDB_DeadlockEx) 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_DeadlockEx (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 386 of file exception.hpp.

Member Typedef Documentation

Definition at line 400 of file exception.hpp.

Constructor & Destructor Documentation

CDB_DeadlockEx::CDB_DeadlockEx ( const CDiagCompileInfo info,
const CException prev_exception,
const SMessageInContext message 
)
inline

Definition at line 389 of file exception.hpp.

CDB_DeadlockEx::CDB_DeadlockEx ( const CDB_DeadlockEx other)
inline

Definition at line 400 of file exception.hpp.

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

Definition at line 400 of file exception.hpp.

Member Function Documentation

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

Reimplemented from CDB_Exception.

Definition at line 400 of file exception.hpp.

TErrCode CDB_DeadlockEx::GetErrCode ( void  ) const
inline

Definition at line 400 of file exception.hpp.

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

Definition at line 400 of file exception.hpp.

CDB_DeadlockEx::NCBI_EXCEPTION_DEFAULT_THROW ( CDB_DeadlockEx  )
inline

Definition at line 400 of file exception.hpp.

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

Definition at line 400 of file exception.hpp.

static void CDB_DeadlockEx::xx_unused_CDB_DeadlockEx ( void  )
staticprivate

The documentation for this class was generated from the following file:
Modified on Sun Nov 19 16:44:15 2017 by modify_doxy.py rev. 546573