lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Modifying the standard analyzer
Date Fri, 07 Jul 2006 19:04:59 GMT
Daniel Naber wrote:
> On Freitag 07 Juli 2006 16:20, Mark Miller wrote:
>
>   
>> the javacc generated StandardTokenizer next() method is declared to
>> throw a ParseException
>>
>>   final public org.apache.lucene.analysis.Token next() throws
>> ParseException, IOException {
>>
>> unfortunately, org.apache.lucene.analysis.Token next() only throws an
>> IOException.
>>     
>
> But ParseException extends IOException, so I don't see a problem there.
>
> Regards
>  Daniel
>
>   
I wish my compiler agreed with you:) Which it seems to do until you 
rebuild the files with javacc. I saw at least two other posts about this 
problem on the web with no answer given...

This guy also found the same issue:
(could only get this from google cache)

http://216.239.51.104/search?q=cache:CSV6j48f0-AJ:mail-archives.apache.org/mod_mbox/jakarta-lucene-user/200310.mbox/%253CDCEE3C62548AFE48ADF88CBFDB8260A203CBBA51%40NGMAIL3%253E+lucene+standardtokenizer+throws+parseexception&hl=en&gl=us&ct=clnk&cd=1


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


Mime
View raw message