} catch (NotAuthorizedException e) {
} catch (NotAuthorizedFilterException e) {
    public ActionForward unenrollFromCurricularCourse(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        super.validateToken(request, form, mapping, "error.transaction.enrollment");        ActionErrors errors = new ActionErrors();        IUserView userView = SessionUtils.getUserView(request);        DynaValidatorForm enrollmentForm = (DynaValidatorForm) form;        Integer[] enrolledCurricularCoursesBefore = (Integer[]) enrollmentForm                .get("enrolledCurricularCoursesBefore");        Integer[] enrolledCurricularCoursesAfter = (Integer[]) enrollmentForm                .get("enrolledCurricularCoursesAfter");        List enrollmentsBefore = Arrays.asList(enrolledCurricularCoursesBefore);        List enrollmentsAfter = Arrays.asList(enrolledCurricularCoursesAfter);        List toUnenroll = (List) CollectionUtils.subtract(enrollmentsBefore, enrollmentsAfter);        if (toUnenroll.size() == 1) {            Integer studentCurricularPlanId = Integer.valueOf(request                    .getParameter("studentCurricularPlanId"));            Integer executionDegreeId = getExecutionDegree(request);            Object[] args = { executionDegreeId, studentCurricularPlanId, (Integer) toUnenroll.get(0) };            try {                ServiceManagerServiceFactory.executeService(userView, "DeleteEnrolment", args);            } catch (NotAuthorizedException e) {                if (e.getMessage() != null) {                    addAuthorizationErrors(errors, e);                } else {                    errors.add("notauthorized", new ActionError("error.exception.notAuthorized"));                }                saveErrors(request, errors);            } catch (FenixServiceException e) {                throw new FenixActionException(e);            }        }        return prepareEnrollmentChooseCurricularCourses(mapping, form, request, response);    }