Interface Client

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addAttribute​(java.lang.String key, java.lang.Object value)
      Adds new attribute to the client.
      void addAttribute​(java.util.Map<java.lang.String,​java.lang.Object> attributes)
      Adds new attributes to the client.
      void enableNativeIntegration()
      Capture unhandled native exceptions (Backtrace database integration is required to enable this feature).
      void send​(BacktraceReport report)
      Send new report to a Backtrace API
    • Method Detail

      • send

        void send​(BacktraceReport report)
        Send new report to a Backtrace API
        Parameters:
        report - data which should be send to Backtrace API
      • enableNativeIntegration

        void enableNativeIntegration()
        Capture unhandled native exceptions (Backtrace database integration is required to enable this feature).
      • addAttribute

        void addAttribute​(java.util.Map<java.lang.String,​java.lang.Object> attributes)
        Adds new attributes to the client. If the native integration is available and attributes are primitive type, they will be added to the native reports.
        Parameters:
        attributes - client Attributes
      • addAttribute

        void addAttribute​(java.lang.String key,
                          java.lang.Object value)
        Adds new attribute to the client. If the native integration is available and attributes are primitive type, they will be added to the native reports.
        Parameters:
        key - attribute key
        value - attribute value