Package org.jboss.bootstrap.spi.config

Examples of org.jboss.bootstrap.spi.config.InvalidConfigurationException


      if (direct == null)
      {
         // Ensure we may construct this via home+name
         if (home == null || (name == null || name.length() == 0))
         {
            throw new InvalidConfigurationException(
                  "If the bootstrap URL is not specified, both the bootstrap home and name must be.");
         }
      }

      // If no conf
      if (conf == null)
      {
         // Ensure we may construct this from home
         if (home == null)
         {
            throw new InvalidConfigurationException("Bootstrap configuration location must be specified explicity, "
                  + "or a home must be provided such that it may be constructed");
         }
      }

      // Log
View Full Code Here


         {
            newBootstrapUrl = new URL(home, name);
         }
         catch (MalformedURLException e)
         {
            throw new IllegalArgumentException(new InvalidConfigurationException(
                  "Cannot construct bootstrapURL from home and name", e));
         }

         // Log
         log.debug("New bootstrap URL: " + newBootstrapUrl.toExternalForm());
View Full Code Here

TOP

Related Classes of org.jboss.bootstrap.spi.config.InvalidConfigurationException

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.