throw new DomainException("error.contextAlreadyExistForCourseGroup");
throw new DomainException("courseGroup.contextAlreadyExistForCourseGroup");
    protected void checkContextsFor(final CourseGroup parentCourseGroup, final CurricularSemester curricularSemester) {        for (final Context context : this.getDegreeModuleContexts()) {            if (context.getCourseGroup() == parentCourseGroup && context.getCurricularSemester() == curricularSemester) {                throw new DomainException("error.contextAlreadyExistForCourseGroup");            }        }    }