>>>>> "David" == David Daney <[EMAIL PROTECTED]> writes:

David> Well maybe some of those, but why not just catch those documented in
David> Class.newInstance() and Class.forName()?  Namely add LinkageError and
David> ExceptionInInitializerError.  Or maybe Exceptions in general but no
David> Errors others than those explicitly documented.

The problem is that Class.forName() doesn't wrap exceptions in
ExceptionInInitializerError, it just propagates whatever the underlying
constructor throws.  This is a bug in the spec (or the original
implementation) but we're stuck with it.

Tom

Reply via email to