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 convertRepositoryResult
exceptions toQueryEvaluationException
.- Author:
- Andreas Schwarte
-
-
Constructor Summary
Constructors Constructor Description RepositoryExceptionConvertingIteration(Iteration<? extends T,? extends Exception> iter)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected QueryEvaluationException
convert(Exception e)
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
-
-
-
-
Method Detail
-
convert
protected QueryEvaluationException convert(Exception e)
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>
-
-