The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CException Class Reference

Inheritance diagram for CException:
Collaboration diagram for CException:

List of all members.

Public Member Functions

 CException (const Core::_tstring &where, HRESULT hr)
Core::_tstring GetWhat () const override
virtual DWORD GetError () const
virtual _tstring GetWhere () const
virtual _tstring GetDetails () const
virtual std::string GetDetailsA () const

Static Public Member Functions

static Core::_tstring GetErrorMessage (HRESULT hr)
static void ThrowOnFailure (const Core::_tstring &where, HRESULT hr)
static void ThrowOnFailure (const TCHAR *pWhere, HRESULT hr)

Protected Attributes

const DWORD m_errorCode
const _tstring m_where
const _tstring m_message
const _tstring m_details


Constructor & Destructor Documentation

CException ( const Core::_tstring where,
HRESULT  hr 
)


Member Function Documentation

_tstring GetWhat (  )  const [override, virtual]

Reimplemented from CException.

_tstring GetErrorMessage ( HRESULT  hr  )  [static]

static void ThrowOnFailure ( const Core::_tstring where,
HRESULT  hr 
) [inline, static]

static void ThrowOnFailure ( const TCHAR pWhere,
HRESULT  hr 
) [inline, static]

DWORD GetError (  )  const [virtual, inherited]

_tstring GetWhere (  )  const [virtual, inherited]

Reimplemented in CSEHException.

_tstring GetDetails (  )  const [virtual, inherited]

Reimplemented in CSEHException.

std::string GetDetailsA (  )  const [virtual, inherited]

Reimplemented in CSEHException.


Member Data Documentation

const DWORD m_errorCode [protected, inherited]

const _tstring m_where [protected, inherited]

const _tstring m_message [protected, inherited]

const _tstring m_details [protected, inherited]


Generated on Sun Sep 12 19:08:16 2021 for The Server Framework - v7.4 by doxygen 1.5.3