Class CErrorHandler::
ReportStaticError()
Data ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: ReportErrorOSNext page: ReportStaticError    Show member index
Protected Function Declared in:
ErrorHandler.h

'Declaration' icon -- Shortcut to top of page. Declaration

static void ReportStaticError(
    const std::string& rClass,
    const std::string& rMethod);

'Description' icon -- Shortcut to top of page. Description

Report an unknown error (use GetLastError)

'Function Body' icon -- Shortcut to top of page. Function Body

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")

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.