try {name =((Prim)elem).sfCompleteName().toString();} catch (RemoteException ex) {};
try {name =((Prim)elem).sfCompleteName().toString();} catch (RemoteException ex) {}
    protected void sfDeployChildren() throws SmartFrogResolutionException, RemoteException, SmartFrogLifecycleException {        for (Enumeration e = lifecycleChildren.elements(); 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 (RemoteException ex) {};                    SmartFrogLifecycleException sflex = SmartFrogLifecycleException.sfDeploy(name ,thr,this);                    String classFailed = ((Prim) elem).sfResolve(SmartFrogCoreKeys.SF_CLASS,"",false);                    sflex.add(SmartFrogLifecycleException.DATA,"Failed object class: "+ classFailed);                    throw sflex;                }            }        }    }