try {
return new ExceptionConvertingIteration<BindingSet, QueryEvaluationException>(connection.evaluateJoin(distinct, bindings, dataset)) {
@Override
protected QueryEvaluationException convert(Exception e) {
return new QueryEvaluationException(e);
}
};
} catch (SQLException e) {
throw new QueryEvaluationException(e);
} catch (IllegalArgumentException e) {
throw new QueryEvaluationException(e);
} catch (InterruptedException e) {
throw new QueryInterruptedException(e);
}
} else {
return super.evaluate(distinct, bindings);