File file = null;
try {
String urlString = FileLocator.resolve(fileURL).toExternalForm().replace(" ", "%20");
+
file = new File(new URI(urlString).getJavaUri());
JarFile jarFile = new JarFile(file);
Manifest manifest = jarFile.getManifest();
throw new IllegalStateException(urise);
} catch (IOException ioe) {
throw new IllegalStateException(ioe);
- }
+ } catch (IllegalArgumentException iae) {
+ String message = iae.getMessage().concat("uri" + jar);
+ throw new IllegalStateException(message);
+ }
}
}
} catch (BundleException e) {