Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6385694

SAXException doesn't handle exception nesting

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: xml
    • Labels:

      Description

      SAXException can take a nested exception, but it doesn't implement the getCause method, so it doesn't participate in the exception nesting mechanism introduced in JDK 1.4.

      Because of this, when one prints out "e.printStackTrace()", it doesn't show exceptions nested inside SAXException.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nwalshsunw Norman Walsh (Inactive)
                Reporter:
                kkawagucsunw Kohsuke Kawaguchi (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: