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

FactoryConfigurationError is not chaining the exception properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 6u14
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: