Merge remote-tracking branch 'origin/GP-3837_Dan_traceRmiHelp--SQUASHED'

This commit is contained in:
Ryan Kurtz 2024-04-15 07:10:51 -04:00
commit 636dc6fdc6
134 changed files with 3214 additions and 1550 deletions

View file

@ -38,7 +38,14 @@ public class HTMLFileParser {
String text;
while ((text = rdr.readLine()) != null) {
Line line = new Line(file, text, rdr.getLineNumber());
processLine(line, rdr, file, tagProcessor);
try {
processLine(line, rdr, file, tagProcessor);
}
catch (Exception e) {
String message =
"Error parsing HTML at %s:%s.".formatted(file, rdr.getLineNumber());
throw new IOException(message, e);
}
}
tagProcessor.endOfFile();
}