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

FactoryConfigurationError is not chaining the exception properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6u14
    • Fix Version/s: 1.4.0
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      h1199
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: