InfoStudent infoStudent = null;  try { ISuportePersistente sp = SuportePersistenteOJB.getInstance();      IStudent student = sp.getIPersistentStudent().readStudentByNumberAndDegreeType(number, degreeType);  if (student != null) {  infoStudent = Cloner.copyIStudent2InfoStudent(student); }  } catch (ExcepcaoPersistencia ex) { ex.printStackTrace(); throw new FenixServiceException(ex);
if (student != null) { return InfoStudent.newInfoFromDomain(student);
    public Object run(Integer number, TipoCurso degreeType) throws FenixServiceException {        InfoStudent infoStudent = null;        try {            ISuportePersistente sp = SuportePersistenteOJB.getInstance();            //////////////////////////////////////////////////////////////////////////////////////////////////////////            // Isto no  para ficar assim. Est assim temporariamente at se            // saber como  feita de facto a distino            // dos aluno, referente ao tipo, a partir da pgina de login.            //////////////////////////////////////////////////////////////////////////////////////////////////////////            IStudent student = sp.getIPersistentStudent().readStudentByNumberAndDegreeType(number,                    degreeType);            if (student != null) {                infoStudent = Cloner.copyIStudent2InfoStudent(student);            }        } catch (ExcepcaoPersistencia ex) {            ex.printStackTrace();            throw new FenixServiceException(ex);        }        return infoStudent;    }