We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab6ff0a commit f680c49Copy full SHA for f680c49
validator/src/main/java/org/lfenergy/compas/scl/validator/xsd/XSDValidator.java
@@ -68,10 +68,8 @@ public void validate() {
68
try {
69
SAXSource source = new SAXSource(new InputSource(new StringReader(sclData)));
70
validator.validate(source);
71
- } catch (IOException exception) {
72
- LOGGER.error("[XSD validation] IOException: {}", exception.getMessage());
73
- } catch (SAXException exception) {
74
- LOGGER.error("[XSD validation] SAXException: {}", exception.getMessage());
+ } catch (IOException | SAXException exception) {
+ LOGGER.error("[XSD validation] Exception: {}", exception.getMessage());
75
}
76
77
0 commit comments