Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-73

Cause of XmlLoadException swalloed making it hard to debug parse errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • Operating System: All
      Platform: All

    • 22383

    Description

      While o.a.c.d.xmlrules.XmlLoadException has constructors taking the Throwable
      cause of the exception, this value is never used again. This makes it rather
      hard to debug parse errors in the rule files when using
      FromXmlRuleSet#addRuleInstances(). I've created a simple patch that at least
      under a 1.4 JDK allows to debug this by calling Throwable.initCause() inside
      XmlLoadException.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stefan.kuehnel@frontis.com Stefan Kuehnel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: