Details
Description
Recommend changing line 107 from this:
(Localizer.getMessage("jsp.error.parse.xml", uri), sx);
To this:
(Localizer.getMessage("jsp.error.parse.xml", uri) + " - SAXException: " + sx.getMessage(), sx);
Because when a ParseException occurs within the ParserUtils.parseXMLDocument() method, the sx.getMessage() can be very helpful in understanding what caused the exception to be thrown. As the code stands now, the message is ignored.
Neil
(Localizer.getMessage("jsp.error.parse.xml", uri), sx);
To this:
(Localizer.getMessage("jsp.error.parse.xml", uri) + " - SAXException: " + sx.getMessage(), sx);
Because when a ParseException occurs within the ParserUtils.parseXMLDocument() method, the sx.getMessage() can be very helpful in understanding what caused the exception to be thrown. As the code stands now, the message is ignored.
Neil
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #14981 | Thu Oct 18 16:36:12 MDT 2007 | ted.goddard | logging SAXException ( |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #14828 | Wed Sep 19 11:59:57 MDT 2007 | ted.goddard | logging SAXException ( |
Files Changed | ||||
![]() |