if (!selectedRooms.containsAll(writtenEvaluation.getAssociatedRooms())) {
// if the selected rooms are different of the evaluation rooms
// then the user probably selected repeated rooms
throw new FenixServiceException("error.repeated.rooms");
}
writtenEvaluation.distributeStudentsByRooms(studentsToDistribute, selectedRooms);
if (sendSMS) {
sendSMSToStudents(writtenEvaluation);
}
}