try {
EventLogDAOHibImpl eventLogDAO = new EventLogDAOHibImpl();
Integer id = new Integer(idStr);
EventLog eventLog = new EventLog();
eventLog.setId(id);
eventLogDAO.eraseEventLog(eventLog);
} catch (EMFUserError e){
HashMap params = new HashMap();
params.put(AdmintoolsConstants.PAGE, "EVENTS_MONITOR_PAGE");
params.put("REFRESH", "TRUE");
throw new EMFUserError(EMFErrorSeverity.ERROR, 1066, new Vector(), params);