String[] deploymenturl = tempURL.split(":",-1);  if (deploymenturl.length<1) throw new SmartFrogInitException("Deployment URL: wrong format");
    public ConfigurationDescriptor (String deploymentURL) throws SmartFrogInitException {        try {            if (deploymentURL==null) {                throw new SmartFrogInitException("Deployment URL: null");            }            String tempURL = null;            String item = null;            deploymentURL = deploymentURL.trim();            if (deploymentURL.length() < 1) throw                    new SmartFrogInitException("Deployment URL: wrong format");            //Check if url starts with " and extract name:            //"HOST guijarro-j-3.hpl.hp.com:rootProcess:sfDefault:display":TER:::localhost:subprocess;            //display:TER:::localhost:subprocess;            try {                if (deploymentURL.startsWith("\"")) {                    setName(deploymentURL.substring(1,                        deploymentURL.indexOf("\"", 1)));                    tempURL = deploymentURL.substring(deploymentURL.                        indexOf("\"", 1)+2);                } else {                    setName(deploymentURL.substring(0,                        deploymentURL.indexOf(separator)));                    tempURL = deploymentURL.substring(deploymentURL.indexOf(                            separator)+1);                }                if (this.getName().equals(" ")) {                    this.setName(null);                }            } catch (Exception ex) {                throw new SmartFrogInitException("Error parsing NAME in: "+                                                 deploymentURL, ex);            }            String[] deploymenturl = tempURL.split(":",-1);            if (deploymenturl.length<1) throw                    new SmartFrogInitException("Deployment URL: wrong format");            try {                if (deploymenturl[3]!=null) {                    //Logger.log("Type: "+(String)deploymenturl[0]);                    this.setActionType(deploymenturl[0]);                }            } catch (Exception ex) {                throw new SmartFrogInitException(                    "Error parsing ACTION_TYPE in: "+                    deploymentURL, ex);            }            try {              if (deploymenturl[3]!=null) {                  //Logger.log("Url: "+(String)deploymenturl[1]);                  this.setUrl(deploymenturl[1]);                  if (this.getUrl().equals(" ")) {                      this.setUrl(null);                  }              }            } catch (Exception ex) {                throw new SmartFrogInitException("Error parsing URL in: "+                                                 deploymentURL, ex);            }            try {                //Logger.log("DeployRef: "+(String)deploymenturl[2]);                this.setDeployReference(deploymenturl[2]);            } catch (Exception ex) {                throw new SmartFrogInitException(                    "Error parsing DEPLOY_REFERENCE in: "+                    deploymentURL, ex);            }            try {                //Logger.log("host: "+(String)deploymenturl[3]);                if (deploymenturl[3]!=null) {                    this.setHost((deploymenturl[3]));                    if (this.getHost().equals("")) {                        this.setHost(null);                    }                }            } catch (Exception ex) {                throw new SmartFrogInitException("Error parsing HOST in: "+                                                 deploymentURL, ex);            }            try {              if (!deploymentURL.endsWith(":")) {                    //Logger.log("subproc: "+(String)deploymenturl[4]);                if (deploymenturl[4]!=null) {                    this.setSubProcess(deploymenturl[4]);                    if (this.getSubProcess().equals("")) {                        this.setSubProcess(null);                    }                }              }            } catch (Exception ex) {                throw new SmartFrogInitException(                    "Error parsing SUBPROCESS in: "+                    deploymentURL, ex);            }        } catch (Throwable thr){           this.resultException = thr;           throw (SmartFrogInitException)SmartFrogInitException.forward(thr);        }    }