return viewActiveCurricularCourseInformation(mapping, form, request, response);
Boolean result = Boolean.FALSE; ActionErrors errors = new ActionErrors(); Object[] args = { infoExecutionDegreeCode, infoCurriculumCode, infoCurricularCourseCode, infoCurriculum, userView.getUtilizador(), language }; try { result = (Boolean) ServiceUtils.executeService(userView, "EditCurriculumForCurricularCourse", args); } catch (NonExistingServiceException e) { if (e.getMessage().equals("noCurricularCourse")) { errors.add("chosenCurricularCourse", new ActionError( "error.coordinator.chosenCurricularCourse")); saveErrors(request, errors); } else if (e.getMessage().equals("noPerson")) { errors.add("chosenPerson", new ActionError("error.coordinator.noUserView")); saveErrors(request, errors); } } catch (FenixServiceException e) { if (e.getMessage().equals("nullCurricularCourseCode")) { errors.add("nullCode", new ActionError("error.coordinator.noCurricularCourse")); saveErrors(request, errors); } else if (e.getMessage().equals("nullCurriculumCode")) { errors.add("nullCurriculumCode", new ActionError("error.coordinator.noCurriculum")); saveErrors(request, errors); } else if (e.getMessage().equals("nullCurriculum")) { errors.add("nullCurriculum", new ActionError("error.coordinator.noCurriculum")); saveErrors(request, errors); } else if (e.getMessage().equals("nullUsername")) { errors.add("nullUsername", new ActionError("error.coordinator.noUserView")); saveErrors(request, errors); } else { throw new FenixActionException(e); } } if (result.equals(Boolean.FALSE)) { throw new FenixActionException(); } if (!errors.isEmpty()) { return mapping.findForward("degreeCurricularPlanManagement"); }  return viewActiveCurricularCourseInformation(mapping, form, request, response);
    public ActionForward editCurriculum(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixActionException, FenixServiceException, FenixFilterException {        HttpSession session = request.getSession(false);        IUserView userView = getUserView(request);        Integer infoExecutionDegreeCode = getAndSetIntegerToRequest("infoExecutionDegreeCode", request);        Integer infoCurricularCourseCode = getAndSetIntegerToRequest("infoCurricularCourseCode", request);        Integer infoCurriculumCode = getAndSetIntegerToRequest("infoCurriculumCode", request);                String language = null;        language = request.getParameter("language");        InfoCurriculum infoCurriculum = getDataFromForm(form, language);        Boolean result = Boolean.FALSE;        ActionErrors errors = new ActionErrors();        Object[] args = { infoExecutionDegreeCode, infoCurriculumCode, infoCurricularCourseCode,                infoCurriculum, userView.getUtilizador(), language };        try {            result = (Boolean) ServiceUtils.executeService(userView,                    "EditCurriculumForCurricularCourse", args);        } catch (NonExistingServiceException e) {            if (e.getMessage().equals("noCurricularCourse")) {                errors.add("chosenCurricularCourse", new ActionError(                        "error.coordinator.chosenCurricularCourse"));                saveErrors(request, errors);            } else if (e.getMessage().equals("noPerson")) {                errors.add("chosenPerson", new ActionError("error.coordinator.noUserView"));                saveErrors(request, errors);            }        } catch (FenixServiceException e) {            if (e.getMessage().equals("nullCurricularCourseCode")) {                errors.add("nullCode", new ActionError("error.coordinator.noCurricularCourse"));                saveErrors(request, errors);            } else if (e.getMessage().equals("nullCurriculumCode")) {                errors.add("nullCurriculumCode", new ActionError("error.coordinator.noCurriculum"));                saveErrors(request, errors);            } else if (e.getMessage().equals("nullCurriculum")) {                errors.add("nullCurriculum", new ActionError("error.coordinator.noCurriculum"));                saveErrors(request, errors);            } else if (e.getMessage().equals("nullUsername")) {                errors.add("nullUsername", new ActionError("error.coordinator.noUserView"));                saveErrors(request, errors);            } else {                throw new FenixActionException(e);            }        }        if (result.equals(Boolean.FALSE)) {            throw new FenixActionException();        }        if (!errors.isEmpty()) {            return mapping.findForward("degreeCurricularPlanManagement");        }        return viewActiveCurricularCourseInformation(mapping, form, request, response);    }