Forward IOException in ClassFileArchiveEntryHandler::toClassFile
While the exception itself might not be very helpful (Javassist, for example, can throw rather cryptic ones) including at least makes the visible.
This commit is contained in:
parent
55af30eb13
commit
2c4ccbc8af
|
@ -61,7 +61,7 @@ public class ClassFileArchiveEntryHandler implements ArchiveEntryHandler {
|
|||
return new ClassFile( dataInputStream );
|
||||
}
|
||||
catch (IOException e) {
|
||||
throw new ArchiveException( "Could not build ClassFile" );
|
||||
throw new ArchiveException( "Could not build ClassFile", e );
|
||||
}
|
||||
finally {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue