![]() |
ReportStaticError() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Protected Function |
Declared in: ErrorHandler.h |
static void ReportStaticError( const std::string& rClass, const std::string& rMethod);
Report an unknown error (use GetLastError)
if (!m_pLog) return; try { #ifdef WIN32 //Get the last error DWORD dwLastError; dwLastError=GetLastError(); //Report the error m_pLog->ReportError(rClass, rMethod, ErrorCodeToString(dwLastError)); #else m_pLog->ReportError(rClass, rMethod, "Unknown error!"); #endif } ERROR_UNKNOWN("ReportStaticError")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |