Name: rlT66838 Date: 08/27/97
Quite often is is necessary to convert one
type of exception into an other. For example
if an exception is thrown in an initializer,
the exception is converted into
java.lang.ExceptionInInitializerError. When
this happens the stack trace of the initial
exception is lost. Could a constructor be
added to Exception, such that it would take
another exception as a parameter, and be able
to display the other exceptions StackTrace.
======================================================================
- duplicates
-
JDK-4086279 {ExceptionInInitializer/InvocationTarget} exceptions must show 2 stack traces
-
- Closed
-