Class RepositoryExceptionConvertingIteration<T>
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<T,QueryEvaluationException>
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
ConstructorDescriptionRepositoryExceptionConvertingIteration
(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 QueryEvaluationException
Deprecated, 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, remove
Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:ExceptionConvertingIteration
Converts an exception from the underlying iteration to an exception of type X.- Specified by:
convert
in classExceptionConvertingIteration<T,
QueryEvaluationException>
-