} catch (ServerException se) {
throw new RepositoryException(se.getClass().getName() + ": "
+ se.getMessage());
}
if (l.size() == 0) {
throw new NoRecordsMatchException("No records match the given criteria.");
}
ArrayList<Object> ret = new ArrayList<Object>();
for (int i = 0; i < l.size(); i++) {
ObjectFields f = (ObjectFields) l.get(i);
ret.add(new SimpleRecord(getHeader(f), getDCXML(f), s_emptySet));