Re: Unreported IOException received for SpanTermQuery class

2006-03-07 Thread Murat Yakici
Yeah, I know, sorry for that. The reason is, first I tried to solve the problem by wrapping the line with a try-catch block. Then, the next build gave the same error for SpanTermQuery and some other classes. I will try to compile that on 1.5.0_01. Thanks, Murat Paul Elschot wrote: On Tuesd

Re: Unreported IOException received for SpanTermQuery class

2006-03-07 Thread Paul Elschot
On Tuesday 07 March 2006 16:34, Murat Yakici wrote: > The compiler is Sun Java 1.4.2_08. I'm using sun javac 1.5.0_01 and this compiles the current trunk without any problems, so I cannot reproduce the error msg. The common-build.xml file uses source and target 1.4 for javac, (in the compile macro

Re: Unreported IOException received for SpanTermQuery class

2006-03-07 Thread Murat Yakici
The compiler is Sun Java 1.4.2_08. Paul Elschot wrote: On Tuesday 07 March 2006 15:35, Murat Yakici wrote: Hi, I was building the Lucene 1.9.1 source code. I have received the following error msg: "Unreported exceptions: java.io.IOException must be caught or declared to be thrown. " in cl

Re: Unreported IOException received for SpanTermQuery class

2006-03-07 Thread Paul Elschot
On Tuesday 07 March 2006 15:35, Murat Yakici wrote: > Hi, > I was building the Lucene 1.9.1 source code. I have received the > following error msg: > > "Unreported exceptions: java.io.IOException must be caught or declared > to be thrown. " in class SpanOrQuery, line number 154. > > Any ideas h

Unreported IOException received for SpanTermQuery class

2006-03-07 Thread Murat Yakici
Hi, I was building the Lucene 1.9.1 source code. I have received the following error msg: "Unreported exceptions: java.io.IOException must be caught or declared to be thrown. " in class SpanOrQuery, line number 154. Any ideas how to resolve it? Regards, Murat --