Hi Jeff,

I use the log.error and ExceptionInInitialzerException approach. My feeling
is that whether the relevant code is in a constructor or a static block, an
error represents a fatal exception. I typically use static blocks like this
for loading properties files or resources that are required by the
application - i.e. if they do not exist, or cannot be found the consequences
should be fatal. For other uses, my approach may not be appropriate.

Regards,
Bruce

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to