Jukka Zitting wrote:
On 8/22/07, Martijn Hendriks <[EMAIL PROTECTED]> wrote:
The current implementation of the LazyScoreNodeIterator is such to
ignore all RepositoryExceptions that might be thrown while loading the
nodes in the result set, as required by the javax.jcr.NodeIterator spec.
I think the correct behaviour would be for the node iterator to throw
an exception (unfortunately I guess only a RuntimeException would work
here) instead of ignoring such internal errors.
I agree.
We could change the behaviour of the iterator to throw a NoSuchElementException.
That's an exception already declared on nextNode().
Would that work for you Martijn?
regards
marcel