if (stringExecutionYear == null || stringExecutionYear.length() == 0) {
throw new FenixServiceException("nullExecutionYearName");
}
CurricularCourse curricularCourse = (CurricularCourse) FenixFramework.getDomainObject(curricularCourseCode);
if (curricularCourse == null) {
throw new NonExistingServiceException("noCurricularCourse");
}
final ExecutionYear executionYear = ExecutionYear.readExecutionYearByName(stringExecutionYear);
if (executionYear == null) {
throw new NonExistingServiceException("noExecutionYear");
}
Curriculum curriculumExecutionYear = curricularCourse.findLatestCurriculumModifiedBefore(executionYear.getEndDate());
if (curriculumExecutionYear != null) {
List allCurricularCourseScopes = new ArrayList();