#include <PerfData.h>
Public Member Functions | |
CPerfDataException (LPCTSTR prefix, DWORD error=ERROR_INTERNAL_ERROR) | |
Constructor taking a message prefix and Win32 error code. | |
DWORD | getWin32Error () const |
Return the Win32 error code associated with this exception. | |
const std::_tstring & | getPrefix () const |
Get the message prefix. | |
std::_tstring | getFormattedError () const |
Get a formatted error consisting of the prefix + FormatMessage(Win32Error). |
|
Constructor taking a message prefix and Win32 error code.
|
|
Return the Win32 error code associated with this exception. 0 (ERROR_SUCCESS) if not applicable. |