| CSpoofBase |

Custom Code in Header After Includes | Declared in: SpoofBase.h

## 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

Class Overview | Hierarchy Chart

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.