Class CSpoofBase Data ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: Custom Code in Header Before IncludesNext page: Custom Code in Header Public Section    Show member index
Custom Code in Header After Includes Declared in:
SpoofBase.h

'Custom Code' icon -- Shortcut to top of page. Custom Code

#define ERROR_HANDLER(METHOD_NAME)  \
    catch (...)\
    {\
        /*Get the last error*/\
        ReportError(METHOD_NAME);\
    }
#define ERROR_HANDLER_RETURN(METHOD_NAME,RETURN_VALUE)  \
    catch (...)\
    {\
        /*Get the last error*/\
        ReportError(METHOD_NAME);\
        return RETURN_VALUE;\
    }

//Manage static handlers
#define ERROR_HANDLER_STATIC(CLASS_NAME,METHOD_NAME)    \
    catch (...)\
    {\
        /*Get the last error*/\
        CSpoofBase::ReportStaticError(CLASS_NAME,METHOD_NAME);\
    }
#define ERROR_HANDLER_STATIC_RETURN(CLASS_NAME,METHOD_NAME,RETURN_VALUE)    \
    catch (...)\
    {\
        /*Get the last error*/\
        CSpoofBase::ReportStaticError(CLASS_NAME,METHOD_NAME);\
        return RETURN_VALUE;\
    }
#define ERROR_HANDLER_AMBIG(BASE_CLASS,METHOD_NAME) \
    catch (...)\
    {\
        /*Get the last error*/\
        BASE_CLASS::ReportError(METHOD_NAME);\
    }
#define ERROR_HANDLER_AMBIG_RETURN(BASE_CLASS,METHOD_NAME,RETURN_VALUE) \
    catch (...)\
    {\
        /*Get the last error*/\
        BASE_CLASS::ReportError(METHOD_NAME);\
        return RETURN_VALUE;\
    }

'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 © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001.