Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1117

LSException should contain cause exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0
    • None

    Description

      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.

      Attachments

        1. DOMSerializerImpl.java.patch
          0.7 kB
          Matej Kraus
        2. DOMParserImpl.java.patch
          0.7 kB
          Matej Kraus

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            matty Matej Kraus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: