docs: public static String[] getBuildInfoFromJar(InMemoryJarfile jarfile)
              throws IOException
      {
          // Read the raw build info bytes.
          byte[] buildInfoBytes = jarfile.get(CATALOG_BUILDINFO_FILENAME);
          if (buildInfoBytes == null) {
              throw new IOException("Catalog build information not found - please build your application using the current version of VoltDB.");
          }
  
          // Convert the bytes to a string and split by lines.
          String buildInfo;
          buildInfo = new String(buildInfoBytes, Constants.UTF8ENCODING);
          String[] buildInfoLines = buildInfo.split("\n");
  
          // Sanity check the number of lines and the version string.
          if (buildInfoLines.length < 1) {
              throw new IOException("Catalog build info has no version string.");
          }
          String versionFromCatalog = buildInfoLines[0].trim();
          if (!CatalogUtil.isCatalogVersionValid(versionFromCatalog)) {
              throw new IOException(String.format(
                      "Catalog build info version (%s) is bad.", versionFromCatalog));
          }
  
          // Trim leading/trailing whitespace.
          for (int i = 0; i < buildInfoLines.length; ++i) {
              buildInfoLines[i] = buildInfoLines[i].trim();
          }
  
          return buildInfoLines;
      }