code: @Override
      public File downloadResource(String namespace,
              String namespaceDownloadLocation) throws ResourceDownloadError {
          URLConnection fileUrlConnection;
          try {
              fileUrlConnection = new URL(namespace).openConnection();
              fileUrlConnection
                      .setConnectTimeout(ProtocolHandlerConstants.CONNECTION_TIMEOUT);
  
              return downloadResource(fileUrlConnection,
                      namespaceDownloadLocation);
          } catch (InterruptedIOException e) {
              final String url = namespaceDownloadLocation;
              final String msg = "Interrupted I/O";
              throw new ResourceDownloadError(url, msg, e);
          } catch (IOException e) {
              final String url = namespaceDownloadLocation;
              final String msg = e.getMessage();
              throw new ResourceDownloadError(url, msg, e);
          }
      }
docs: {@inheritDoc}