[jboss-dev-forums] [Design of JBoss Remoting, Unified Invokers] - Re: Interruption and the Remoting 3 API
trustin
do-not-reply at jboss.com
Tue Sep 18 23:38:56 EDT 2007
Thanks for explanation David. If it's purely about interruption of a local thread, I'd prefer the option D without introducing a new subclass exceptions. I'm not sure it's cluttering but it will be very convenient for the API users though. Personally I chose interruptable one as default:
http://mina.apache.org/report/trunk/xref/org/apache/mina/common/IoFuture.html
As you pointed out, a user can know explicitly that the interruption status flag is set from the fact that he or she caught the InterruptedException by oneself. We will need more documentation if we deal it with any other exception classes (i.e. RemotingException subclasses).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085829#4085829
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085829
More information about the jboss-dev-forums
mailing list