code: private static URL parseURL(String encodedUrl) {
      try {
        return new URL(encodedUrl);
      } catch (MalformedURLException e) {
        throw new IllegalArgumentException(e);
      }
    }
docs: Returns the URI for the given encoded URL.
  
  <p>Any {@link MalformedURLException} is wrapped in an {@link IllegalArgumentException}.
  
  @param encodedUrl encoded URL
  @return URL