Configuration.getConnectionPool().executeQuery(qp);
if (qp.getResultCount() < 1) {
throw new NoSuchAuditLogRecordException(
"No such record exists.");
}
AuditLog result = createObjectFromQueryParser(AuditLog.class, qp);
// repopulate the next four bits from the method call
result.setProjectId(projectId);
result.setContentType(contentType);
result.setContentId(contentId);
result.setUpdateDate(update);
return result;
} catch (SQLException e) {
Logger.warn("Audit logs records couldn't be retrieved", e);
throw new NoSuchAuditLogRecordException(
"SQLException prevented audit log retrieval: "