XMLReader.readXMLFileToString no longer throws a Transformer exception.

This commit is contained in:
fjc40
2017-08-11 22:38:39 +12:00
parent 61d18f85c5
commit b625b6ab05
7 changed files with 12 additions and 9 deletions
@@ -87,7 +87,7 @@ public class Event {
this.boatXML = XMLReader.readXMLFileToString(boatsXMLFile, StandardCharsets.UTF_8);
this.regattaXML = XMLReader.readXMLFileToString(regattaXMLFile, StandardCharsets.UTF_8);
} catch (TransformerException | XMLReaderException e) {
} catch (XMLReaderException e) {
throw new EventConstructionException("Could not read XML files.", e);
}