customOIDs.add(customOIDDAO.retrieve(oidIDs.elementAt(i).intValue()));
}
return new CustomOIDCollector(snmp, pollInterval, valueUnits, customOIDs);
} catch (SQLException e) {
logger.error("Problem retrieving custom OIDs for session " + sessionID);
throw new DBException("Problem retrieving custom OIDs for session " + sessionID, e);
}
}