} catch (ServerException se) {
throw new RepositoryException(se.getClass().getName() + ": "
+ se.getMessage());
}
if (l.size() > 0) {
throw new NoMetadataFormatsException("The item doesn't even have dc_oai metadata.");
} else {
throw new IDDoesNotExistException("The provided id does not match any item in the repository.");
}
}