Package org.sonatype.configuration

Examples of org.sonatype.configuration.ConfigurationException


    setConfiguration(configurationUpgrader.loadOldConfiguration(file));

    // after all we should have a configuration
    if (getConfiguration() == null) {
      throw new ConfigurationException("Could not upgrade Security configuration! Please replace the "
          + file.getAbsolutePath() + " file with a valid Security configuration file.");
    }

    getLogger().info("Creating backup from the old file and saving the upgraded configuration.");
View Full Code Here


      // FIXME: this should happen in this super's class: AbstractProxyRepositoryConfigurator
      try {
        ((ObrProxyRepository) repository).setRemoteUrl(remoteStorage.getUrl());
      }
      catch (final StorageException e) {
        throw new ConfigurationException("Cannot configure OBR Proxy Repository! " + remoteStorage.getUrl(), e);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.sonatype.configuration.ConfigurationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.