LSException should contain cause exception
------------------------------------------

         Key: XERCESJ-1117
         URL: http://issues.apache.org/jira/browse/XERCESJ-1117
     Project: Xerces2-J
        Type: Improvement
  Components: DOM (Level 3 Load & Save)  
    Versions: 2.7.1    
    Reporter: Matej Kraus


LSException should contain cause exception to be able to recognize IOException 
in application.
There are two patches in attachement for DOMParserImpl and DOMSerializerImpl.
Both call initCause method using reflection. Reflection is used because 
initCause method is available on Throwable since Java 1.4.
Additionally dummy e.printStackTrace() was removed from DOMSerializerImpl.java.

-- 
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