{
org.dspace.content.Item it = iterator.next();
list.add(new DSpaceDatabaseItem(it, this.getMetadata(it), getSets(it)));
i++;
}
return new ListItemIdentifiersResult((databaseQuery.getTotal() > offset + length), list, databaseQuery.getTotal());
}
catch (SQLException e)
{
log.error(e.getMessage(), e);
} catch (DatabaseQueryException e) {
log.error(e.getMessage(), e);
} catch (IOException e) {
log.error(e.getMessage(), e);
} catch (ContextServiceException e) {
log.error(e.getMessage(), e);
}
return new ListItemIdentifiersResult(false, list, 0);
}