FactoryConfigurationError is not chaining the exception properly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 6u14
    • Component/s: xml
    • h1199
    • generic
    • generic
    • Verified

        The FactoryConfigurationError class takes Exception in the constructor, but it doesn't use the exception chaining mechanism of JDK1.4. It should have the following method added:

        public Throwable getCause() {
           return exception;
        }

        ... so that printing the exception will result in printing the nested exception.

              Assignee:
              Joe Wang
              Reporter:
              Kohsuke Kawaguchi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: