"david.lloyd(a)jboss.com" wrote : Some operations in Remoting 3 might be
| So here's the question: should these normally-quick-but-possibly-sometimes-slow
methods:
| a) throw InterruptedException,
| b) translate the InterruptedException into a RemotingException (and keep the
thread's interruption status set),
| or c) just run uninterruptably (and propagate the thread's interruption status)?
|
IMO I like option A for everything that is obviously I/O, and option B for anything very
high-level, but using a subclassed exception in case someone wants to handle it still.
-Jason
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085741#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...