Class CSpoofBase::
SetLastError()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: SetLastErrorNext page: ShutdownSockets    Show member index
Protected Function Declared in:
SpoofBase.h

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

void SetLastError(
    const std:: string& rMethod,
    int iErrorCode) const;

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

try
{
    //First set the error
    m_iLastError=iErrorCode;

    //Check if there is an error
    if (m_iLastError)
        ReportError(rMethod,
                    m_iLastError);
}
ERROR_HANDLER("SetLastError")

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

Class Overview Class Overview  |  Public base class CErrorHandler  |  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.