On Thursday 10 January 2002 10:26 am, Berin Loritsch wrote: > This approach simplifies the use of the Component infrastructure > tremendously as we no longer have to have big complex try/catch/finally > methods to ensure that we release all components even if they are > ThreadSafe.
Are we going to make lookup() not throw a ComponentException anymore? If not, (or unless ComponentException extends RuntimeException) I don't see how the t/c/f block will go away, as you still have to trap the ComponentException. On a side note, I always re-throw any ComponentException's as RuntimeException's, what do other folk do? -pete -- peter royal -> [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>