actionErrors.add("error.insertSummary", new ActionError((e.getMessage()))); actionErrors.add("error.insertSummary", new ActionError(("error.summary.impossible.insert")));
actionErrors.add("error.insertSummary", new ActionError((e.getMessage())));
    public ActionForward insertSummary(ActionMapping mapping, ActionForm form,			HttpServletRequest request, HttpServletResponse response) {		try {			HttpSession session = request.getSession(false);			IUserView userView = (IUserView) session.getAttribute(SessionConstants.U_VIEW);						Integer executionCourseId = getObjectCode(request);			request.setAttribute("objectCode", executionCourseId);						InfoSummary infoSummaryToInsert = buildSummaryToInsert(request);						Object[] args = { executionCourseId, infoSummaryToInsert };			ServiceUtils.executeService(userView, "InsertSummaryDepartment", args);					} catch (Exception e) {			e.printStackTrace();			ActionErrors actionErrors = new ActionErrors();			actionErrors.add("error.insertSummary", new ActionError((e.getMessage())));			actionErrors.add("error.insertSummary", new ActionError(("error.summary.impossible.insert")));			saveErrors(request, actionErrors);			return prepareInsertSummary(mapping, form, request, response);		}				return showSummaries(mapping, form, request, response);	}