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

RFE: Need for better error reporting in Beans.instantiate

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Name: rlT66838 Date: 07/22/99


      In Beans.instantiate, the following code:

      throw new ClassNotFoundException("" + cl + " : " + ex);

      should read:

      throw new ClassNotFoundException("" + cl + " : " + ex, ex);

      i.e., using the better constructor for the error so that the
      line number of the error in the init code of the class shows
      up in the backtrace.
      (Review ID: 88132)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              malenkov Sergey Malenkov (Inactive)
              Reporter:
              rlewis Roger Lewis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: