lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Thread.interrupt()
Date Wed, 28 Oct 2009 11:53:44 GMT
As a followon to LUCENE-1573, we had stated that in 3.0 instead of
throwing RuntimeException when a Thread inside Lucene is interrupted,
we would throw InterruptedException.

Do we want to do this?  Technically I think it's the right thing to
do, but, I started to implement it and found that it basically results
in nearly every API now throwing InterruptedException (just like
IOException).

Thoughts?

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message