Skip to content

Commit b0af907

Browse files
committed
Catch and print any exception during the parse sequence.
1 parent 73e9631 commit b0af907

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/ClassFileContainer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ public boolean parse()
7575
return true;
7676
}
7777
}
78-
catch (IOException e)
78+
catch (Throwable e)
7979
{
80-
throw new RuntimeException(e);
80+
System.err.println("Failed to parse " + this.getName() + ": " + e.getMessage());
8181
}
8282

8383
return false;

0 commit comments

Comments
 (0)