lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: QueryParser Rules article (Erik Hatcher)
Date Fri, 14 Nov 2003 12:56:11 GMT
On Thursday, November 13, 2003, at 06:46  PM, Tomcat Programmer wrote:
> Hopefully the dev group will consider refactoring the
> code so that when its doing the lexing it will throw
> TokenMgrException's instead of TokenMgrError's.
> Throwing Errors should be reserved for only the most
> nasty of conditions. The compiler will force you to
> catch or throw Exceptions, but not Errors. Thus, the
> developer will never see it coming when their
> application comes to a grinding halt.

I'm not sure I understand your request.  With the latest codebase you 
will only ever get a ParseException coming from either of the parse 
methods and you don't have to worry about any other unchecked 

Am I missing something?


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

View raw message