try { this.configFile = configFile; container.setConfiguration(configFile); container.start(); } catch (Exception e) { throw new ConfigurationException(new Message(Messages.FAILED_TO_CREATE_X_WITH_X, "Plexus container", this.configFile)); }
this.configFile = configFile;
    public void setConfigFile(URL configFile) throws ConfigurationException    {        try        {            this.configFile = configFile;            container.setConfiguration(configFile);            container.start();        } catch (Exception e)        {            throw new ConfigurationException(new Message(Messages.FAILED_TO_CREATE_X_WITH_X, "Plexus container", this.configFile));        }    }