![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cException.h>
Static Public Attributes | |
static const StrLen_t | k_MSG_MAX_SIZE = 1024 |
arbitrary max message size. More... | |
Additional Inherited Members | |
![]() | |
cExceptionBase * | m_p |
Pointer to some object of TYPE. More... | |
Holds/Wraps an exception in a uniform way, and hides the fact that it is a pointer (MFC) or a reference (STL). make sure we call Delete() when we are done with this. ONLY useful because MFC passes all exceptions by pointer and STL does not.
|
inlinenoexcept |
|
inlineexplicitnoexcept |
Normal usage for _MFC_VER.
|
inlineexplicitnoexcept |
Normal STL usage.
|
inlinenoexcept |
basically an auto_ptr
|
inline |
cStringL Gray::cExceptionHolder::get_ErrorStr | ( | ) | const |
cException * Gray::cExceptionHolder::get_Ex | ( | ) | const |
Get the cException version of the exception if it is based on it. Use dynamic_cast.
LOGLEV_TYPE Gray::cExceptionHolder::get_Severity | ( | ) | const |
BOOL Gray::cExceptionHolder::GetErrorMessage | ( | LOGCHAR_t * | lpszError, |
StrLen_t | nLenMaxError = k_MSG_MAX_SIZE |
||
) | const |
|
static |
arbitrary max message size.