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.