XMLReader.readXMLFileToString no longer throws a Transformer exception.
This commit is contained in:
@@ -18,7 +18,7 @@ public class RaceXMLReaderTest {
|
||||
try {
|
||||
raceXMLString = XMLReader.readXMLFileToString("mock/mockXML/raceTest.xml", StandardCharsets.UTF_8);
|
||||
|
||||
} catch (TransformerException | XMLReaderException e) {
|
||||
} catch (XMLReaderException e) {
|
||||
throw new InvalidRaceDataException("Could not read race XML file into a string.", e);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user