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

CWin32Exception Class Reference
[Exceptions]

Inheritance diagram for CWin32Exception:
Collaboration diagram for CWin32Exception:

List of all members.


Detailed Description

A simple exception class to replace Win32 error returns.


Public Member Functions

 CWin32Exception (const Core::_tstring &where, DWORD error)
 CWin32Exception (const Core::_tstring &where, HMODULE hModule, DWORD error)
 CWin32Exception (const Core::_tstring &where, const Core::_tstring &message)
 CWin32Exception (const Core::_tstring &where, const Core::_tstring &message, DWORD error)
 CWin32Exception (const Core::_tstring &where, const Core::_tstring &message, HMODULE hModule, DWORD error)
virtual DWORD GetError () const
virtual _tstring GetWhere () const
virtual _tstring GetWhat () const
virtual _tstring GetDetails () const
virtual std::string GetDetailsA () const

Protected Attributes

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


Constructor & Destructor Documentation

CWin32Exception ( const Core::_tstring where,
DWORD  error 
)

CWin32Exception ( const Core::_tstring where,
HMODULE  hModule,
DWORD  error 
)

CWin32Exception ( const Core::_tstring where,
const Core::_tstring message 
)

CWin32Exception ( const Core::_tstring where,
const Core::_tstring message,
DWORD  error 
)

CWin32Exception ( const Core::_tstring where,
const Core::_tstring message,
HMODULE  hModule,
DWORD  error 
)


Member Function Documentation

DWORD GetError (  )  const [virtual, inherited]

_tstring GetWhere (  )  const [virtual, inherited]

Reimplemented in CSEHException.

_tstring GetWhat (  )  const [virtual, inherited]

Reimplemented in CException, CException, and 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:11:53 2021 for The Server Framework - v7.4 by doxygen 1.5.3