} catch (NotAuthorizedFilterException e) { ActionErrors actionErrors = new ActionErrors(); actionErrors.add("error", new ActionError("error.exception.notAuthorized2")); saveErrors(request, actionErrors); return mapping.getInputForward();
    public ActionForward setFinalDegreeCandidacyPeriod(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixActionException,            FenixFilterException {        DynaActionForm finalDegreeWorkScheduleingForm = (DynaActionForm) form;        String startOfCandidacyPeriodDateString = (String) finalDegreeWorkScheduleingForm                .get("startOfCandidacyPeriodDate");        String startOfCandidacyPeriodHourString = (String) finalDegreeWorkScheduleingForm                .get("startOfCandidacyPeriodHour");        String startOfCandidacyPeriodString = startOfCandidacyPeriodDateString + " "                + startOfCandidacyPeriodHourString;        String endOfCandidacyPeriodDateString = (String) finalDegreeWorkScheduleingForm                .get("endOfCandidacyPeriodDate");        String endOfCandidacyPeriodHourString = (String) finalDegreeWorkScheduleingForm                .get("endOfCandidacyPeriodHour");        String endOfCandidacyPeriodString = endOfCandidacyPeriodDateString + " "                + endOfCandidacyPeriodHourString;        SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy HH:mm");        Date startOfCandidacyPeriod = null;        Date endOfCandidacyPeriod = null;        try {            startOfCandidacyPeriod = dateFormat.parse(startOfCandidacyPeriodString);        } catch (ParseException e) {            ActionErrors actionErrors = new ActionErrors();            actionErrors.add("finalDegreeWorkCandidacy.setCandidacyPeriod.validator.start",                    new ActionError("finalDegreeWorkCandidacy.setCandidacyPeriod.validator.start"));            saveErrors(request, actionErrors);            return mapping.getInputForward();        }        try {            endOfCandidacyPeriod = dateFormat.parse(endOfCandidacyPeriodString);        } catch (ParseException e) {            ActionErrors actionErrors = new ActionErrors();            actionErrors.add("finalWorkInformationForm.numberOfGroupElements", new ActionError(                    "finalWorkInformationForm.numberOfGroupElements"));            saveErrors(request, actionErrors);            return mapping.getInputForward();        }        IUserView userView = SessionUtils.getUserView(request);        HttpSession session = request.getSession(false);        InfoExecutionDegree infoExecutionDegree = (InfoExecutionDegree) session                .getAttribute(SessionConstants.MASTER_DEGREE);        Object args[] = { infoExecutionDegree.getIdInternal(), startOfCandidacyPeriod,                endOfCandidacyPeriod };        try {            ServiceUtils.executeService(userView, "DefineFinalDegreeWorkCandidacySubmisionPeriod", args);        } catch (FenixServiceException e) {            throw new FenixActionException(e);        }        request                .setAttribute("sucessfulSetOfDegreeCandidacyPeriod",                        "sucessfulSetOfDegreeProposalPeriod");        return mapping.findForward("Sucess");    }