throws FenixFilterException, FenixServiceException {
{
    private List<SelectItem> readDegreeModules(String selectedCurricularRuleType)            throws FenixFilterException, FenixServiceException {                final List<SelectItem> result = new ArrayList<SelectItem>();        if (selectedCurricularRuleType != null && !selectedCurricularRuleType.equals(NO_SELECTION_STRING)) {            switch (CurricularRuleType.valueOf(selectedCurricularRuleType)) {            case PRECEDENCY_APPROVED_DEGREE_MODULE:            case PRECEDENCY_ENROLED_DEGREE_MODULE:                getDegreeModules(CurricularCourse.class, result);                break;                            case CREDITS_LIMIT:            case DEGREE_MODULES_SELECTION_LIMIT:            case PRECEDENCY_BETWEEN_DEGREE_MODULES:                getDegreeModules(CourseGroup.class, result);                break;                            case EXCLUSIVENESS:                getDegreeModules(getDegreeModule().getClass(), result);                break;            default:                break;            }        }        result.add(0, new SelectItem(NO_SELECTION_INTEGER, bolonhaResources.getString("choose")));        return result;    }