Thanks,
Absolute tolerance :)
It seems that there is no other way.
I found somethinig here:
http://www.nabble.com/Error-tolerant-query-parsing-tf108987.html
Otis Gospodnetic wrote:
>
> Hm, error tolerant query parser? How do you want to handle queries with
> invalid syntax?
>
> Here is one w
Hm, error tolerant query parser? How do you want to handle queries with
invalid syntax?
Here is one way:
try {
QueryParser qp = new QueryParser(.);
Query q = qp.parse();
} catch (Throwable t) {
// tolerate any exception
}
;)
Bad but quite tolerant.
Otis
. . . . . . . . . . . .