[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Justification for
scott.stark@jboss.org
do-not-reply at jboss.com
Thu Jul 27 10:58:01 EDT 2006
"timfox" wrote :
| Declaring as throws Throwable forces the caller to handle RuntimeExceptions and Errors.
|
Exactly this. In some places not handling unchecked exceptions can lead to thread leaks, connection leaks, etc. If an excecution path requires deterministic behavior there is no such thing as an unchecked exception in that path.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961318#3961318
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961318
More information about the jboss-dev-forums
mailing list