docs: @Deprecated
      public static String getFilteredStackTrace(Throwable t, boolean shouldFilter) {
  
          if (shouldFilter) {
              return getFilteredStackTrace(t, 0);
          }
  
          StringWriter sw = new StringWriter();
          PrintWriter pw = new PrintWriter(sw);
          t.printStackTrace(pw);
          pw.close();
  
          return sw.getBuffer().toString();
      }