public Object run(List classOIDs) throws FenixServiceException {
public Object run(List classOIDs) throws ExcepcaoPersistencia {
    public Object run(List classOIDs) throws FenixServiceException {        boolean result = false;        try {            ISuportePersistente sp = SuportePersistenteOJB.getInstance();            for (int j = 0; j < classOIDs.size(); j++) {                ITurma schoolClass = (ITurma) sp.getITurmaPersistente().readByOID(Turma.class,                        (Integer) classOIDs.get(j));                for (int i = 0; i < schoolClass.getAssociatedShifts().size(); i++) {                    ITurno shift = (ITurno) schoolClass.getAssociatedShifts().get(i);                    sp.getITurnoPersistente().simpleLockWrite(shift);                    shift.getAssociatedClasses().remove(schoolClass);                }                sp.getITurmaPersistente().delete(schoolClass);            }            result = true;        } catch (ExcepcaoPersistencia ex) {            throw new FenixServiceException("Error deleting class");        }        return new Boolean(result);    }