Include cause when throwing exception due to unreadable manifest

Closes gh-6417
This commit is contained in:
Andy Wilkinson 2016-07-19 08:48:04 +01:00
parent 49676ee986
commit e1950e34c6
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ final class ChangeableUrls implements Iterable<URL> {
}
catch (IOException ex) {
throw new IllegalStateException(
"Failed to read Class-Path attribute from manifest of jar "
+ url);
"Failed to read Class-Path attribute from manifest of jar " + url,
ex);
}
}
return Collections.<URL>emptyList();