for (int i=0; i<rowId.length; i++) {
fileFacade.deleteFile(individualId, Integer.parseInt(rowId[i]), dataSource);
}
} catch(Exception e) {
logger.error("[execute] Exception thrown.", e);
throw new CommunicationException(e.getMessage());
}
if (!deleteLog.isEmpty()) {
ActionErrors allErrors = new ActionErrors();
allErrors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("error.freeForm", "You do not have permission to delete one or more of the records you selected."));
session.setAttribute("listErrorMessage", allErrors);