code: public static void initExceptionHandler(Context context) {
  
          Log.d("AppRate", "Init AppRate ExceptionHandler");
  
          Thread.UncaughtExceptionHandler currentHandler = Thread.getDefaultUncaughtExceptionHandler();
  
          // Don't register again if already registered.
          if (!(currentHandler instanceof ExceptionHandler)) {
  
              // Register default exceptions handler.
              Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(currentHandler, context));
          }
      }
docs: Initialize the {@link ExceptionHandler}.