Class ExceptionConvertingIteration<E,​X extends Exception>

    • Constructor Detail

      • ExceptionConvertingIteration

        protected ExceptionConvertingIteration​(Iteration<? extends E,​? extends Exception> iter)
        Deprecated.
        Creates a new ExceptionConvertingIteration that operates on the supplied iteration.
        Parameters:
        iter - The Iteration that this ExceptionConvertingIteration operates on, must not be null.
    • Method Detail

      • convert

        protected abstract X convert​(Exception e)
        Deprecated.
        Converts an exception from the underlying iteration to an exception of type X.
      • hasNext

        public boolean hasNext()
                        throws X extends Exception
        Deprecated.
        Checks whether the underlying Iteration contains more elements.
        Returns:
        true if the underlying Iteration contains more elements, false otherwise.
        Throws:
        X
        X
        X extends Exception