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

Go to the source code of this file.


Defines

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

#define ERROR_HANDLER ( METHOD_NAME   ) 

Value:

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

Definition at line 42 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 51 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 62 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 71 of file ErrorHandlerMacros.h.

#define ERROR_UNKNOWN ( METHOD_NAME   ) 

Value:

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

Definition at line 82 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 92 of file ErrorHandlerMacros.h.