Continue Decompiling On Parsing Error

This commit is contained in:
Konloch 2024-09-27 01:34:46 -06:00
parent ddd31b58d7
commit 89a26407f8

AI 샘플 코드 생성 중입니다

Loading...

View File

@ -60,7 +60,7 @@ public class ClassFileContainer
CompilationUnit compilationUnit = StaticJavaParser.parse(this.content);
compilationUnit.accept(new MyVoidVisitor(this, compilationUnit), null);
}
catch (java.lang.ClassCastException | UnsolvedSymbolException | ParseProblemException e)
catch (java.util.NoSuchElementException | java.lang.ClassCastException | UnsolvedSymbolException | ParseProblemException e)
{
System.err.println("Parsing error!");
e.printStackTrace();