ExceptionInInitializerError

Godmar Back gback at cs.utah.edu
Tue Jul 11 11:25:35 PDT 2000



 Call ExceptionInInitializerError.getException() first and then print the
stacktrace.

	- Godmar

> 
> 
> 
> How does Kaffe fill in the stack trace for the exception wrapped in an
> ExceptionInInitializerError? I had hoped that it would tell me the line
> number within the initializer where the exception occured but the stack
> trace only shows the stack up to the method that caused that class to be
> processed (for example, Constructor.newInstance() or Class.forName()).
> 
> Can anyone suggest a simple solution, or refer me to the appropriate
> place in the source code?
> 
> Thanks.
> 
> -- 
> Ryan Heise
> 
> http://www.progsoc.uts.edu.au/~rheise/
> 



More information about the kaffe mailing list