throw new DeploymentManagerCreationException("Could not get DeploymentManager");
throw new DeploymentManagerCreationException("Could not get DeploymentManager; No registered DeploymentFactory handles this URI");
    public DeploymentManager getDeploymentManager(String uri, String username, String password) throws DeploymentManagerCreationException {        // RI doesn't care about uri being null, neither do we        for (Iterator i = deploymentFactories.iterator(); i.hasNext();) {            DeploymentFactory factory = (DeploymentFactory) i.next();            if (factory != null) {                if (factory.handlesURI(uri)) {                    try {                        return factory.getDeploymentManager(uri, username, password);                    } catch (DeploymentManagerCreationException e) {                        // Just like the RI we throw a new exception with a generic message                        throw new DeploymentManagerCreationException("Could not get DeploymentManager");                    }                }            }        }        throw new DeploymentManagerCreationException("Could not get DeploymentManager");    }