![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cExceptionAssert.h>
Public Member Functions | |
| cExceptionAssert (const LOGCHAR_t *pExp, LOGLEV_TYPE eSeverity, const cDebugSourceLine &src) | |
| virtual | ~cExceptionAssert ()((void) 0) |
| virtual BOOL | GetErrorMessage (GChar_t *lpszError, UINT nMaxError, UINT *pnHelpContext) override |
Public Member Functions inherited from Gray::cException | |
| 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) |
Public Member Functions inherited from Gray::cExceptionBase | |
| virtual | ~cExceptionBase () |
Static Public Member Functions | |
| static void __stdcall | Throw (const LOGCHAR_t *pExp, const cDebugSourceLine &src) |
Protected Attributes | |
| const LOGCHAR_t *const | m_pExp |
| const cDebugSourceLine | m_Src |
Additional Inherited Members | |
Public Attributes inherited from Gray::cException | |
| const LOGLEV_TYPE | m_eSeverity |
| how bad is this ? More... | |
| const LOGCHAR_t * | m_pszDescription |
| this pointer should be to something static !? More... | |
Static Public Attributes inherited from Gray::cException | |
| static const LOGCHAR_t * | k_szDescriptionDefault = "Exception" |
Asserts can be seen as exceptions. details from coded ASSERT stuff.
| Gray::cExceptionAssert::cExceptionAssert | ( | const LOGCHAR_t * | pExp, |
| LOGLEV_TYPE | eSeverity, | ||
| const cDebugSourceLine & | src | ||
| ) |
|
virtual |
|
overridevirtual |
overloaded to provide context specific error messages.
Compatible with MFC CException and CFileException. Assume this is typically overridden at a higher level.
Reimplemented from Gray::cException.
|
static |
These can get left in release code. This is similar to _assert() in M$ code.
|
protected |
|
protected |