lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Explaining a filter; Scorer extending Matcher;
Date Tue, 23 May 2006 18:03:13 GMT
Erik Hatcher wrote:
> Since we're moving forward with API refactoring discussions, on the  
> topic of exceptions, perhaps its time to consider putting in our own  
> exception class or hierarchy to decouple ourselves a bit from "IO".   
> There are many in-memory non-disk-IO uses of these API's and having  
> IOException being caught when it doesn't make sense (like iterating  
> through tokens of a StringReader from an Analyzer, for instance).

Back-compatibility will be much simpler if new exceptions are subclasses 
of IOException.  But adding a Lucene-specific exception hierarchy would 
be good hygiene.  Does someone want to draft a proposal?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message