-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.2.2
-
generic
-
generic
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)
======================================================================
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)
======================================================================
- duplicates
-
JDK-4343723 Beans.instantiate() does not preserve nested exception
- Resolved
- relates to
-
JDK-4067824 Beans.instantiate hides exception details
- Closed