>
> Ok, I'm not near any documentation now, but I think
> throwing an exception is overkill. As I remember
> all you have to do is return false from your collector
> and that'll stop the search. But verify that.
>

That would have been much cleaner, however collect() is a void,
so throwing a (runtime) exception is currently the only way a
collector can stop the search.

Reply via email to