lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roxana Angheluta <>
Subject Re: StandardTokenizer throws extra exceptions
Date Mon, 31 Oct 2005 10:39:49 GMT
Rob Young wrote:
> Hi,
> I'm trying to create another, slightly changed, version of 
> StandardAnalyzer. I've coppied out the source, editted the .jj file 
> and re-built the StandardTokenizer class. The problem I am facing is, 
> when I have all this in eclipse it's telling me that the 
> ParseException is not compatible with the throws clause in 
>, I check and the only Exception 
> it's throwing there is IOException. How can I get around this error? 
> As far as I can see StandardAnalyzer doesn't seem to do anything to 
> get around it.
Hi Rob!

I had the same problem. I solved it by manually editing the file every time when modifying .jj file:

public class ParseException extends IOException {

It's not the most elegant way to do it, I'm also interested in a more 
scalable solution.

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

View raw message