docs: public static URI uriFromUrl(URL url) throws IllegalArgumentException {
          try {
              return url.toURI();
          } catch (URISyntaxException e) {
              throw new IllegalArgumentException(e);
          }
      }