[concurrency-interest] proper handling of InterruptedException
dcholmes at optusnet.com.au
Mon Oct 30 19:03:50 EST 2006
Just one additional note:
> or should the thread catch it, ignore it and gracefully die?
The only circumstances where a thread can "gracefully die" due to an
exception is in the threasd's own run() method - where a return will cause
the thread to gracefully die. In that one case it is fine to catch it and
gracefully die - you aren't ignoring it as you are dying in response to it.
But any method further down the call chain needs to re-throw or re-assert as
More information about the Concurrency-interest