docs: private static int parseInt(String s) {
          try {
              return Integer.parseInt(s);
          } catch (NumberFormatException nfe) {
              log.error("Unable to parse integer value '" + s + "'", nfe);
          }
  
          return -1;
      }