[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Justification for

timfox do-not-reply at jboss.com
Thu Jul 27 12:26:49 EDT 2006


"adrian at 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#3961344

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961344



More information about the jboss-dev-forums mailing list