Commons Digester
  1. Commons Digester
  2. DIGESTER-73

Cause of XmlLoadException swalloed making it hard to debug parse errors

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Stefan Kuehnel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development