actionErrors2.add("errors.existing.groupStudentEnrolment", error2);
saveErrors(request, actionErrors2);
return mapping.findForward("viewShiftsAndGroups");
} catch (FenixServiceException e) {
throw new FenixActionException(e);
}
InfoSiteStudentsWithoutGroup studentsNotEnroled = null;
try {
studentsNotEnroled = ReadStudentsWithoutGroup.run(groupPropertiesCodeString, userView.getUsername());
} catch (ExistingServiceException e) {
ActionErrors actionErrors1 = new ActionErrors();
ActionError error1 = null;
error1 = new ActionError("error.noProject");
actionErrors1.add("error.noProject", error1);
saveErrors(request, actionErrors1);
return mapping.findForward("viewExecutionCourseProjects");
} catch (NewStudentGroupAlreadyExists e) {
ActionErrors actionErrors1 = new ActionErrors();
ActionError error1 = null;
error1 = new ActionError("error.existingGroup");
actionErrors1.add("error.existingGroup", error1);
saveErrors(request, actionErrors1);
return prepareEnrolment(mapping, form, request, response);
} catch (FenixServiceException e) {
throw new FenixActionException(e);
}
List infoStudentList = studentsNotEnroled.getInfoStudentList();
if (infoStudentList != null) {
Collections.sort(infoStudentList, new BeanComparator("number"));