lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: QueryParser Rules article (Erik Hatcher)
Date Fri, 14 Nov 2003 15:45:41 GMT
Erik is referring to the VERY latest version - the CVS :)

Otis

--- Erik Hatcher <erik@ehatchersolutions.com> wrote:
> 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 
> exceptions.
> 
> Am I missing something?
> 
> 	Erik
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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


Mime
View raw message