Skip to content

Commit

Permalink
Merge pull request #1768 from jplag/bug-fix/java-exception
Browse files Browse the repository at this point in the history
Catch all Exceptions in java
  • Loading branch information
tsaglam authored May 22, 2024
2 parents ae64101 + 1c0c22f commit 38fb673
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void parseFiles(Set<File> files, final Parser parser) throws ParsingExcep
ast.accept(scanner, null);
parser.add(Token.semanticFileEnd(file));
}
} catch (IOException exception) {
} catch (Exception exception) {
throw new ParsingException(null, exception.getMessage(), exception);
}
parsingExceptions.addAll(processErrors(listener));
Expand Down

0 comments on commit 38fb673

Please sign in to comment.