I have found that throwing a RuntimeException in the static initializer
will, when triggered, eventually generate an ExceptionInInitializerError
at runtime.
Peter
Peter B. West wrote:
....
> Out of the solution comes another question. I have a static initializer
> which can throw a ClassNotFoundException. How do I handle this? I
> can't attach a "throws" clause to the "static" keyword. Do I just catch
> it and throw a RuntimeException?
>
> Peter
--
Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]