org.openrdf.repository.augur.helpers
Class RepositoryCloseableIteration<E>

java.lang.Object
  extended by info.aduna.iteration.CloseableIterationBase<E,X>
      extended by info.aduna.iteration.ExceptionConvertingIteration<E,RepositoryException>
          extended by org.openrdf.repository.augur.helpers.RepositoryCloseableIteration<E>
All Implemented Interfaces:
CloseableIteration<E,RepositoryException>, Iteration<E,RepositoryException>

public class RepositoryCloseableIteration<E>
extends ExceptionConvertingIteration<E,RepositoryException>

Author:
Herko ter Horst

Constructor Summary
RepositoryCloseableIteration(Iteration<? extends E,? extends QueryEvaluationException> iter)
           
 
Method Summary
protected  RepositoryException convert(Exception e)
           
 
Methods inherited from class info.aduna.iteration.ExceptionConvertingIteration
handleClose, hasNext, next, remove
 
Methods inherited from class info.aduna.iteration.CloseableIterationBase
close, isClosed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryCloseableIteration

public RepositoryCloseableIteration(Iteration<? extends E,? extends QueryEvaluationException> iter)
Parameters:
iter -
Method Detail

convert

protected RepositoryException convert(Exception e)
Specified by:
convert in class ExceptionConvertingIteration<E,RepositoryException>


Copyright © 2004-2008 Aduna. All Rights Reserved.