sflex.add(sflex.DATA,"Failed object class: "+((Prim) elem).sfResolve(SmartFrogCoreKeys.SF_CLASS,"",false));
sflex.add(SmartFrogLifecycleException.DATA, "Failed object class: "+((Prim) elem).sfResolve(SmartFrogCoreKeys.SF_CLASS,"",false));
    public synchronized void sfDeploy() throws SmartFrogException, RemoteException {        try {            Object st = sfResolveId(SmartFrogCoreKeys.SF_SYNC_TERMINATE);            if (st == null) {                sfSyncTerminate = false;            } else if (st instanceof String) {                sfSyncTerminate = Boolean.valueOf((String) st).booleanValue();            } else {                sfSyncTerminate = ((Boolean) st).booleanValue();            }            super.sfDeploy();            for (Enumeration e = sfChildren(); e.hasMoreElements();) {                Object elem = e.nextElement();                if (elem instanceof Prim) {                    try{                        ((Prim) elem).sfDeploy();                    } catch (Throwable thr){                        String name = "";                        try {name =((Prim)elem).sfCompleteName().toString();} catch (Exception ex) {};                        SmartFrogLifecycleException sflex = SmartFrogLifecycleException.sfDeploy(name ,thr,null);                        sflex.add(sflex.DATA,"Failed object class: "+((Prim) elem).sfResolve(SmartFrogCoreKeys.SF_CLASS,"",false));                        throw sflex;                    }                }            }        } catch (SmartFrogException sfex){            throw sfex;        } catch (Throwable thr) {            throw SmartFrogLifecycleException.sfDeploy(null,thr, (Prim)this);        }    }