code: public static URL createUrl(String url) {
          try {
              return new URL(url);
          } catch (MalformedURLException e) {
              throw new SdkClientException("Could not create URL: " + url, e);
          }
      }
docs: Helper method to create a {@link URL} without dealing with a checked exception.
  
  @param url String URL.
  @return {@link URL} object.