Ejemplo n.º 1
0
  @Override
  public URL getURL() throws IOException {
    URL url = resource.getURL();

    if (url == null) {
      throw new IOException(getDescription() + " cannot be resolved as URL");
    }

    return url;
  }