lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Becker <pbec...@dstc.edu.au>
Subject IndexLockedException
Date Wed, 09 Jul 2003 02:46:47 GMT
Hi,

is there some proper means to figure out if an IOException thrown by an 
IndexWriter is caused by a locked index? I don't want to start parsing 
strings ;-)

If not: what about throwing an IndexLockedException instead? This could 
inherit from IOException (and thus still be caught as such), but would 
allow distinguishing the problem properly.

  Peter


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


Mime
View raw message