throw new InvalidArgumentsServiceException();
throw new InvalidArgumentsServiceException("error.editStudentGroupMembers");
    public Boolean run(Integer executionCourseID, Integer studentGroupID, Integer groupPropertiesID,            List studentUsernames) throws FenixServiceException, ExcepcaoPersistencia {        final ISuportePersistente persistentSupport = PersistenceSupportFactory                .getDefaultPersistenceSupport();        final IPersistentStudentGroup persistentStudentGroup = persistentSupport                .getIPersistentStudentGroup();        final IStudentGroup studentGroup = (IStudentGroup) persistentStudentGroup.readByOID(                StudentGroup.class, studentGroupID);        if (studentGroup == null) {            throw new ExistingServiceException();        }        final IGrouping grouping = studentGroup.getGrouping();        final IGroupEnrolmentStrategyFactory enrolmentGroupPolicyStrategyFactory = GroupEnrolmentStrategyFactory                .getInstance();        final IGroupEnrolmentStrategy strategy = enrolmentGroupPolicyStrategyFactory                .getGroupEnrolmentStrategyInstance(grouping);        if (!strategy.checkStudentsUserNamesInGrouping(studentUsernames, grouping)) {            throw new InvalidArgumentsServiceException();        }        for (final String studentUsername : (List<String>) studentUsernames) {                       final IAttends attend = grouping.getStudentAttend(studentUsername);            if (attend == null) {                throw new InvalidArgumentsServiceException();            }            for (final IStudentGroup studentGroupIter : grouping.getStudentGroups()) {                if (studentGroupIter.getAttends().contains(attend)) {                    throw new InvalidSituationServiceException();                }            }            studentGroup.addAttends(attend);        }        return Boolean.TRUE;    }