public Object run(InfoClass infoClass) {
public Object run(InfoClass infoClass) throws ExcepcaoPersistencia {
    public Object run(InfoClass infoClass) {        ITurma turma = null;        boolean result = false;        try {            ISuportePersistente sp = SuportePersistenteOJB.getInstance();            IExecutionPeriod executionPeriod = Cloner.copyInfoExecutionPeriod2IExecutionPeriod(infoClass                    .getInfoExecutionPeriod());            ICursoExecucao executionDegree = Cloner.copyInfoExecutionDegree2ExecutionDegree(infoClass                    .getInfoExecutionDegree());            turma = sp.getITurmaPersistente().readByNameAndExecutionDegreeAndExecutionPeriod(                    infoClass.getNome(), executionDegree, executionPeriod);            try {                if (turma != null) {                    for (int i = 0; i < turma.getAssociatedShifts().size(); i++) {                        ITurno shift = (ITurno) turma.getAssociatedShifts().get(i);                        sp.getITurnoPersistente().simpleLockWrite(shift);                        shift.getAssociatedClasses().remove(turma);                    }                    sp.getITurmaPersistente().delete(turma);                    result = true;                }            } catch (ExcepcaoPersistencia ex1) {                throw new ExcepcaoPersistencia(ExcepcaoPersistencia.QUERY, ex1);            }        } catch (ExcepcaoPersistencia ex) {            ex.printStackTrace();        }        return new Boolean(result);    }