Examples of ExistingActionException


Examples of org.fenixedu.academic.ui.struts.action.exceptions.ExistingActionException

        try {
            CriarTurma.run(className, curricularYear, infoExecutionDegree, academicInterval);

        } catch (DomainException e) {
            throw new ExistingActionException("A SchoolClass", e);
        }

        return listClasses(mapping, form, request, response);
    }
View Full Code Here

Examples of org.fenixedu.academic.ui.struts.action.exceptions.ExistingActionException

        InfoClass infoClassNew = null;
        try {
            infoClassNew = (InfoClass) EditarTurma.run(infoClassOld.getExternalId(), className);
        } catch (DomainException e) {
            throw new ExistingActionException("A SchoolClass", e);
        }

        request.removeAttribute(PresentationConstants.CLASS_VIEW);
        request.setAttribute(PresentationConstants.CLASS_VIEW, infoClassNew);
View Full Code Here

Examples of org.fenixedu.academic.ui.struts.action.exceptions.ExistingActionException

        InfoStudentCurricularPlan infoStudentCurricularPlan = null;
        try {

            infoStudentCurricularPlan = ReadStudentCurricularPlan.run(studentCurricularPlanID);
        } catch (ExistingServiceException e) {
            throw new ExistingActionException(e);
        }

        request.setAttribute(PresentationConstants.CURRICULUM, result);
        request.setAttribute(PresentationConstants.STUDENT_CURRICULAR_PLAN, infoStudentCurricularPlan);
View Full Code Here

Examples of org.fenixedu.academic.ui.struts.action.exceptions.ExistingActionException

            errors.add("nonExisting", new ActionError("message.public.notfound.curricularCourses"));
            saveErrors(request, errors);
            return mapping.getInputForward();

        } catch (ExistingServiceException e) {
            throw new ExistingActionException(e);
        }
        Collections.sort(curricularCourseList, new BeanComparator("name"));
        request.setAttribute("curricularCourses", curricularCourseList);

        return mapping.findForward("PrepareSuccess");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.