@Override
protected void unEnrol() {
for (final CurriculumModule curriculumModule : enrolmentContext.getToRemove()) {
if (curriculumModule instanceof Enrolment) {
final Enrolment enrolment = (Enrolment) curriculumModule;
enrolment.unEnrollImprovement(getExecutionSemester());
} else {
throw new DomainException(
"StudentCurricularPlanImprovementOfApprovedEnrolmentManager.can.only.manage.enrolment.evaluations.of.enrolments");
}
}