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