Technically, there's a big difference between "I checked, and there
was no index", and "I was unable to check the disk because file system
went BANG!".
So the proper behaviour is to return false & IOE (on proper occasion)?

On Mon, Mar 21, 2011 at 13:53, Michael McCandless
<luc...@mikemccandless.com> wrote:
> On Mon, Mar 21, 2011 at 12:52 AM, Shai Erera <ser...@gmail.com> wrote:
>> Can we remove the declaration? The method never throws IOE, but instead
>> catches it and returns false. I think it's reasonable that such a method
>> will not throw exceptions.
>
> +1
>
> --
> Mike
>
> http://blog.mikemccandless.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>



-- 
Kirill Zakharenko/Кирилл Захаренко
E-Mail/Jabber: ear...@gmail.com
Phone: +7 (495) 683-567-4
ICQ: 104465785

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

Reply via email to