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 |
CException | ( | const Core::_tstring & | where, | |
HRESULT | hr | |||
) |
_tstring GetWhat | ( | ) | const [override, virtual] |
Reimplemented from CException.
_tstring GetErrorMessage | ( | HRESULT | hr | ) | [static] |
static void ThrowOnFailure | ( | const Core::_tstring & | where, | |
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.
const DWORD m_errorCode [protected, inherited] |
const _tstring m_where [protected, inherited] |
const _tstring m_message [protected, inherited] |
const _tstring m_details [protected, inherited] |