detected at #13016 (comment)
we should update all code to not put caught exception message to exception that we are going to throw.
catch (ParserConfigurationException | SAXException ex) {
throw new CheckstyleException("unable to parse " + uri
+ " - " + ex.getMessage(), ex);
}
should be:
catch (ParserConfigurationException | SAXException ex) {
throw new CheckstyleException("unable to parse " + uri, ex);
}
we need to update all other cases like this.
detected at #13016 (comment)
we should update all code to not put caught exception message to exception that we are going to throw.
should be:
we need to update all other cases like this.