Retail products


Traffic interception SDK

Control every TCP/IP network connection

  • Route connections via proxy
  • Redirect connections and modify the data
  • Block connections and applications
SSL interception SDK

View SSL in plaintext and modify it

  • View the SSL stream decrypted in plaintext
  • Redirect SSL connection and modify decrypted data
  • Browser shows "SSL lock" without warnings

Documentation


ErrorHandlerMacros.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Defines

#define DbgPrint(METHOD, FORMAT, DATA)
#define DbgError(METHOD, FORMAT, DATA)
#define DbgPrintS(CLS, METHOD, FORMAT, DATA)
#define DbgErrorS(CLS, METHOD, FORMAT, DATA)
#define ERROR_HANDLER(METHOD_NAME)
#define ERROR_HANDLER_RETURN(METHOD_NAME, RETURN_VALUE)
#define ERROR_HANDLER_STATIC(CLASS_NAME, METHOD_NAME)
#define ERROR_HANDLER_STATIC_RETURN(CLASS_NAME, METHOD_NAME, RETURN_VALUE)
#define ERROR_UNKNOWN(METHOD_NAME)
#define ERROR_UNKNOWN_RETURN(METHOD_NAME, RETURN_VALUE)
#define ERROR_HANDLER_RETHROW(METHOD_NAME)
#define ERROR_HANDLER_STATIC_RETHROW(CLASS_NAME, METHOD_NAME)
#define ERROR_UNKNOWN_RETHROW(METHOD_NAME)

Define Documentation

#define DbgError ( METHOD,
FORMAT,
DATA   ) 

Value:

{   \
        char    aTmpBuff[MAX_PATH]; \
        sprintf(aTmpBuff,"Class: %s Method %s ",GetClassName().c_str(),METHOD,FORMAT,DATA); \
        WriteError(aTmpBuff);   \
    }

Definition at line 48 of file ErrorHandlerMacros.h.

#define DbgErrorS ( CLS,
METHOD,
FORMAT,
DATA   ) 

Value:

{   \
        char    aTmpBuff[MAX_PATH]; \
        sprintf(aTmpBuff,"Class: %s Method %s ",CLS,METHOD,FORMAT,DATA); \
        WriteError(aTmpBuff);   \
    }

Definition at line 64 of file ErrorHandlerMacros.h.

#define DbgPrint ( METHOD,
FORMAT,
DATA   ) 

Value:

{   \
        char    aTmpBuff[MAX_PATH]; \
        sprintf(aTmpBuff,"Class: %s Method %s ",GetClassName().c_str(),METHOD,FORMAT,DATA); \
        WriteMessage(aTmpBuff); \
    }

Definition at line 40 of file ErrorHandlerMacros.h.

#define DbgPrintS ( CLS,
METHOD,
FORMAT,
DATA   ) 

Value:

{   \
        char    aTmpBuff[MAX_PATH]; \
        sprintf(aTmpBuff,"Class: %s Method %s ",CLS,METHOD,FORMAT,DATA); \
        WriteMessage(aTmpBuff); \
    }

Definition at line 56 of file ErrorHandlerMacros.h.

#define ERROR_HANDLER ( METHOD_NAME   ) 

Value:

catch (...)\
    {\
        /*Get the last error*/\
        ReportError(METHOD_NAME);\
    }

Definition at line 72 of file ErrorHandlerMacros.h.

#define ERROR_HANDLER_RETHROW ( METHOD_NAME   ) 

Value:

catch (...)\
    {\
        /*Get the last error*/\
        ReportError(METHOD_NAME);\
        throw;\
    }

Definition at line 133 of file ErrorHandlerMacros.h.

#define ERROR_HANDLER_RETURN ( METHOD_NAME,
RETURN_VALUE   ) 

Value:

catch (...)\
    {\
        /*Get the last error*/\
        ReportError(METHOD_NAME);\
        return RETURN_VALUE;\
    }

Definition at line 81 of file ErrorHandlerMacros.h.

#define ERROR_HANDLER_STATIC ( CLASS_NAME,
METHOD_NAME   ) 

Value:

catch (...)\
    {\
        /*Get the last error*/\
        CErrorHandler::ReportStaticError(CLASS_NAME,METHOD_NAME);\
    }

Definition at line 92 of file ErrorHandlerMacros.h.

#define ERROR_HANDLER_STATIC_RETHROW ( CLASS_NAME,
METHOD_NAME   ) 

Value:

catch (...)\
    {\
        /*Get the last error*/\
        CErrorHandler::ReportStaticError(CLASS_NAME,METHOD_NAME);\
        throw;\
    }

Definition at line 144 of file ErrorHandlerMacros.h.

#define ERROR_HANDLER_STATIC_RETURN ( CLASS_NAME,
METHOD_NAME,
RETURN_VALUE   ) 

Value:

catch (...)\
    {\
        /*Get the last error*/\
        CErrorHandler::ReportStaticError(CLASS_NAME,METHOD_NAME);\
        return RETURN_VALUE;\
    }

Definition at line 101 of file ErrorHandlerMacros.h.

#define ERROR_UNKNOWN ( METHOD_NAME   ) 

Value:

catch (...)\
    {\
        /*Can't do anything to avoid circular catch*/\
        /*assert(0);*/\
    }

Definition at line 112 of file ErrorHandlerMacros.h.

#define ERROR_UNKNOWN_RETHROW ( METHOD_NAME   ) 

Value:

catch (...)\
    {\
        /*Can't do anything to avoid circular catch*/\
        /*assert(0);*/\
        throw;\
    }

Definition at line 156 of file ErrorHandlerMacros.h.

#define ERROR_UNKNOWN_RETURN ( METHOD_NAME,
RETURN_VALUE   ) 

Value:

catch (...)\
    {\
        /*Can't do anything to avoid circular catch*/\
        /*assert(0);*/\
        return RETURN_VALUE;\
    }

Definition at line 122 of file ErrorHandlerMacros.h.