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

Documentation error in java.lang.reflect.UndeclaredThrowableException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta3
    • generic, sparc
    • generic, solaris_8
    • Verified

      Documentation for java.lang.reflect.UndeclaredThrowableException says "The undeclared checked exception that was thrown by the invocation handler that may be provided at construction time and accessed via the #getException() method is now known as the cause."

      Whereas there is no getException() method in the Class.
      In this class, getUndeclaredThrowable() is the method to get the cause.

            darcy Joe Darcy
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: