InfoTeacher infoTeacher = null; try { ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport(); IPersistentTeacher teacherDAO = sp.getIPersistentTeacher();  ITeacher teacher = teacherDAO.readByNumber(teacherNumber); if (teacher != null) { infoTeacher = Cloner.copyITeacher2InfoTeacher(teacher); }  } catch (ExcepcaoPersistencia ex) { throw new RuntimeException(ex); }  return infoTeacher;
final ITeacher teacher = teacherDAO.readByNumber(teacherNumber); return (teacher != null) ? InfoTeacher.newInfoFromDomain(teacher) : null;
    public InfoTeacher run(Integer teacherNumber) {        InfoTeacher infoTeacher = null;        try {            ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();            IPersistentTeacher teacherDAO = sp.getIPersistentTeacher();            ITeacher teacher = teacherDAO.readByNumber(teacherNumber);            if (teacher != null) {                infoTeacher = Cloner.copyITeacher2InfoTeacher(teacher);            }        } catch (ExcepcaoPersistencia ex) {            throw new RuntimeException(ex);        }        return infoTeacher;    }