@Override public URL getURL() throws IOException { URL url = resource.getURL(); if (url == null) { throw new IOException(getDescription() + " cannot be resolved as URL"); } return url; }