diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/ClassFileContainer.java b/src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/ClassFileContainer.java index bc0001163..3e8c4bbbf 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/ClassFileContainer.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/ClassFileContainer.java @@ -60,15 +60,15 @@ public void parse() CompilationUnit compilationUnit = StaticJavaParser.parse(this.content); compilationUnit.accept(new MyVoidVisitor(this, compilationUnit), null); } - catch (java.util.NoSuchElementException | java.lang.ClassCastException | UnsolvedSymbolException | ParseProblemException e) - { - System.err.println("Parsing error!"); - e.printStackTrace(); - } catch (IOException e) { throw new RuntimeException(e); } + catch (Exception e) + { + System.err.println("Parsing error: " + className); + e.printStackTrace(); + } } public String getName()