![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cException.h>
Public Member Functions | |
cExceptionHResult (HRESULT hResultCode=E_FAIL, const LOGCHAR_t *pszDescription=nullptr, LOGLEV_TYPE eSeverity=LOGLEV_ERROR)((void) 0) | |
virtual | ~cExceptionHResult ()((void) 0) |
HRESULT | get_HResultCode () const noexcept |
virtual BOOL | GetErrorMessage (GChar_t *lpszError, UINT nLenMaxError, UINT *pnHelpContext) override |
![]() | |
cException (const LOGCHAR_t *pszDescription, LOGLEV_TYPE eLogLevel=LOGLEV_ERROR) noexcept | |
virtual | ~cException ()((void) 0) |
LOGLEV_TYPE | get_Severity () const noexcept |
cStringL | get_ErrorStr () |
virtual const char * | what () const ((void) 0) |
![]() | |
virtual | ~cExceptionBase () |
Public Attributes | |
HRESULT | m_hResultCode |
HRESULT S_OK=0, "winerror.h" code. 0x20000000 = start of custom codes. E_FAIL = unknown error. More... | |
![]() | |
const LOGLEV_TYPE | m_eSeverity |
how bad is this ? More... | |
const LOGCHAR_t * | m_pszDescription |
this pointer should be to something static !? More... | |
Additional Inherited Members | |
![]() | |
static const LOGCHAR_t * | k_szDescriptionDefault = "Exception" |
Store some HRESULT error code based exception.
|
inline |
|
inlinevirtual |
|
inlinenoexcept |
|
overridevirtual |
overloaded to provide context specific error messages.
Compatible with MFC CException and CFileException
Compatible with MFC CException and CFileException. Assume this is typically overridden at a higher level.
Reimplemented from Gray::cException.
Reimplemented in GrayLib::cSQLException.
HRESULT Gray::cExceptionHResult::m_hResultCode |
HRESULT S_OK=0, "winerror.h" code. 0x20000000 = start of custom codes. E_FAIL = unknown error.