From 9356ebfcaa509b63a1be6fc4cc8129d7ea4335d7 Mon Sep 17 00:00:00 2001 From: Cody <6558800+Bl3nd@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:27:26 -0600 Subject: [PATCH] Print error message if an exception is thrown for FieldAccessParser --- .../classcontainer/parser/visitors/FieldAccessParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/parser/visitors/FieldAccessParser.java b/src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/parser/visitors/FieldAccessParser.java index 188e63a31..98a6918ae 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/parser/visitors/FieldAccessParser.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/resources/classcontainer/parser/visitors/FieldAccessParser.java @@ -70,7 +70,7 @@ else if (vd.isParameter()) } catch (Exception e) { - throw new RuntimeException(e); + printException(expr, e); } } }