try { executionCourse = (InfoExecutionCourse) Cloner.get(site.getExecutionCourse()); } catch (ExcepcaoPersistencia e) { throw new FenixServiceException(e); }
executionCourse = (InfoExecutionCourse) Cloner.get(site.getExecutionCourse());
    private ISiteComponent getInfoSiteCommon(InfoSiteCommon component, ISite site)        throws FenixServiceException    {        ISuportePersistente sp;        List allSections = null;        List infoSectionsList = null;        List infoCurricularCourseList = null;        try        {            // read sections            sp = SuportePersistenteOJB.getInstance();            allSections = sp.getIPersistentSection().readBySite(site);            // build the result of this service            Iterator iterator = allSections.iterator();            infoSectionsList = new ArrayList(allSections.size());            while (iterator.hasNext())                infoSectionsList.add(Cloner.copyISection2InfoSection((ISection) iterator.next()));            Collections.sort(infoSectionsList);            // read degrees            IExecutionCourse executionCourse = site.getExecutionCourse();            infoCurricularCourseList = readCurricularCourses(executionCourse);        }        catch (ExcepcaoPersistencia excepcaoPersistencia)        {            throw new FenixServiceException(excepcaoPersistencia);        }        component.setAssociatedDegrees(infoCurricularCourseList);        component.setTitle(site.getExecutionCourse().getNome());        component.setMail(site.getMail());        component.setSections(infoSectionsList);        InfoExecutionCourse executionCourse;		try		{			executionCourse = (InfoExecutionCourse) Cloner.get(site.getExecutionCourse());		}		catch (ExcepcaoPersistencia e)		{			throw new FenixServiceException(e);		}		component.setExecutionCourse(executionCourse);        return component;    }