} else {
createNewDismissal(newCredits, parent, dismissal);
}
} else if (dismissal.isCreditsDismissal()) {
final CreditsDismissal creditsDismissal = (CreditsDismissal) dismissal;
new CreditsDismissal(newCredits, parent, creditsDismissal.getNoEnrolCurricularCoursesSet());
} else {
throw new DomainException("error.unknown.dismissal.type");
}
}