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

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


"adrian at jboss.org" wrote : 
  | Because if everything delcares Throwable, 
  | you can propogate the Throwable throughout your
  | internal api without wrapping it at every level.
  | 
  | e.g. for JMS you would wrap the Throwable in a JMSException
  | in the facade.

Why do RuntimeExceptions/Errors need to be wrapped in a JMSException and sent to the client?

Can't we just propagate the RuntimeExceptions/Error as is to the client?

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

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



More information about the jboss-dev-forums mailing list