docs: private static final boolean printFieldStackTrace(PrintWriter p, Throwable t, String className, String fieldName) {
          for (Class<?> c = t.getClass(); c != Object.class; c = c.getSuperclass()) {
              if (c.getName().equals(className)) {
                  try {
                      Object value = c.getField(fieldName).get(t);
                      if (value instanceof Throwable && value != t.getCause()) {
                          p.append(fieldName).append(": ");
                          printStackTrace(p, (Throwable) value);
                      }
                      return true;
                  } catch (NoSuchFieldException e) {
                  } catch (IllegalAccessException e) {
                  }
              }
          }
  
          return false;
      }