"adrian(a)jboss.org" wrote : Resource allocation can generally be dealt with
try/finally.
| The "throws Throwable" is more for when you probably need
| to perform some reversing operation in your state
Ok, but if you get step1() to automatically reverse itself when a Throwable is thrown,
then you don't need to worry about it. Isn't that easier (and safer)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961344#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...