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

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


The philosophy I'm following is that JMSExceptions are for recoverable conditions, e.g. trying to send to a destination that doesn't exist, the database isn't up etc.

I'm treating RuntimeExceptions as programing errors - symptoms of some bug in the code - in which case we just want to throw it as is to the client.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961363#3961363

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



More information about the jboss-dev-forums mailing list