private void checkIfCanEditCompetenceCourse(final CompetenceCourse competenceCourseToEdit, final String name, final String nameEn) throws ExcepcaoPersistencia, FenixServiceException {
private void checkIfCanEditCompetenceCourse(final CompetenceCourse competenceCourseToEdit, final String name, final String nameEn) throws FenixServiceException {
    private void checkIfCanEditCompetenceCourse(final CompetenceCourse competenceCourseToEdit,            final String name, final String nameEn) throws ExcepcaoPersistencia,            FenixServiceException {        final String normalizedName = StringFormatter.normalize(name);        final String normalizedNameEn = StringFormatter.normalize(nameEn);        for (final CompetenceCourse competenceCourse : CompetenceCourse.readBolonhaCompetenceCourses()) {            if (competenceCourse != competenceCourseToEdit) {                if (StringFormatter.normalize(competenceCourse.getName()).equals(normalizedName)) {                    throw new ExistingCompetenceCourseInformationException(                            "error.existingCompetenceCourseWithSameName", competenceCourse                                    .getDepartmentUnit().getName());                }                if (StringFormatter.normalize(competenceCourse.getNameEn()).equals(normalizedNameEn)) {                    throw new ExistingCompetenceCourseInformationException(                            "error.existingCompetenceCourseWithSameNameEn", competenceCourse                                    .getDepartmentUnit().getName());                }            }        }    }