throws FenixFilterException, FenixServiceException {
{
    private void getDegreeModules(final Class<? extends DegreeModule> clazz, final List<SelectItem> result)            throws FenixFilterException, FenixServiceException {        final List<List<DegreeModule>> degreeModulesSet = getDegreeCurricularPlan().getDcpDegreeModulesIncludingFullPath(clazz);        for (final List<DegreeModule> degreeModules : degreeModulesSet) {            final DegreeModule lastDegreeModule = (degreeModules.size() > 0) ? degreeModules.get(degreeModules.size() - 1) : null;             if (lastDegreeModule != getDegreeModule()) {                final StringBuilder pathName = new StringBuilder();                for (final DegreeModule degreeModule : degreeModules) {                    pathName.append((pathName.length() == 0) ? "" : " > ").append(degreeModule.getName());                }                result.add(new SelectItem(lastDegreeModule.getIdInternal(), pathName.toString()));            }        }        Collections.sort(result, new BeanComparator("label"));    }