Class RepositoryExceptionConvertingIteration<T>
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
org.eclipse.rdf4j.common.iteration.ExceptionConvertingIteration<T,QueryEvaluationException>
org.eclipse.rdf4j.federated.evaluation.iterator.RepositoryExceptionConvertingIteration<T>
- Type Parameters:
T-
- All Implemented Interfaces:
AutoCloseable,CloseableIteration<T,,QueryEvaluationException> Iteration<T,QueryEvaluationException>
@Deprecated(since="4.1.0",
forRemoval=true)
public class RepositoryExceptionConvertingIteration<T>
extends ExceptionConvertingIteration<T,QueryEvaluationException>
Deprecated, for removal: This API element is subject to removal in a future version.
Convenience iteration to convert
RepositoryResult exceptions to QueryEvaluationException.- Author:
- Andreas Schwarte
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryExceptionConvertingIteration(Iteration<? extends T, ? extends Exception> iter) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected QueryEvaluationExceptionDeprecated, for removal: This API element is subject to removal in a future version.Converts an exception from the underlying iteration to an exception of type X.Methods inherited from class org.eclipse.rdf4j.common.iteration.ExceptionConvertingIteration
handleClose, hasNext, next, removeMethods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
stream
-
Constructor Details
-
RepositoryExceptionConvertingIteration
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
convert
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ExceptionConvertingIterationConverts an exception from the underlying iteration to an exception of type X.- Specified by:
convertin classExceptionConvertingIteration<T,QueryEvaluationException>
-