Class CollectionTerminatedException

  • All Implemented Interfaces:

    public final class CollectionTerminatedException
    extends java.lang.RuntimeException
    Throw this exception in Collector.collect(int) to prematurely terminate collection of the current leaf.

    Note: IndexSearcher swallows this exception and never re-throws it. As a consequence, you should not catch it when calling, int) as it is unnecessary and might hide misuse of this exception.

    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CollectionTerminatedException

        public CollectionTerminatedException()
        Sole constructor.