Wrap character encoding related exceptions in the SAXException being reported
-----------------------------------------------------------------------------

                 Key: XERCESJ-1189
                 URL: http://issues.apache.org/jira/browse/XERCESJ-1189
             Project: Xerces2-J
          Issue Type: New Feature
          Components: SAX
    Affects Versions: 2.8.1
            Reporter: Stanimir Stamenkov
            Priority: Minor


During parsing (XMLReader.parse()), when a character encoding problem happens 
on the input (e.g. a java.io.CharConversionException is thrown) it is reported 
as SAXException but any trace from the original exception is lost (except the 
exception message) thus making it harder to recognize the initial problem. 
Making the original exception accessible through SAXException.getException() 
(and/or Exception.getCause()) will help in recognizing character encoding 
problems easier.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to