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

SAXException doesn't handle exception nesting

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • tbd
    • 5.0
    • xml

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: