Examples of ConfigurationException


Examples of org.jacorb.config.ConfigurationException

        portMax = getPortProperty(config, MAX_PROP);

        // Check min < max
        if (portMin > portMax)
        {
            throw new ConfigurationException("PortRangeFactory: minimum port number not less than or equal to maximum");
        }
    }
View Full Code Here

Examples of org.jboss.arquillian.container.spi.ConfigurationException

    */
   public static void configurationDirectoryExists(final String string, final String message) throws ConfigurationException
   {
      if (string == null || string.length() == 0 || new File(string).isDirectory() == false)
      {
         throw new ConfigurationException(message);
      }
   } 
View Full Code Here

Examples of org.jboss.arquillian.spi.ConfigurationException

            populateConfiguration(arquillianConfiguration, configuration);
         }
      }
      catch (Exception e)
      {
         throw new ConfigurationException("Could not create configuration", e);
      }
      return configuration;
   }
View Full Code Here

Examples of org.jboss.blacktie.jatmibroker.core.conf.ConfigurationException

    XMLParser xmlenv;
    xmlenv = new XMLParser(handler, "btconfig.xsd");
    xmlenv.parse("btconfig.xml");
    url = (String) prop.get("JMXURL");
    if (url == null) {
      throw new ConfigurationException(
          "No JMX url configuration in btconfig.xml");
    }
    this.blacktieAdmin = new ObjectName("jboss.blacktie:service=Admin");
  }
View Full Code Here

Examples of org.jboss.cache.config.ConfigurationException

      // scan to be sure the _default_ region isn't added twice
      boolean setDefault = false;
      for (EvictionRegionConfig erc : ercs)
      {
         Fqn fqn = erc.getRegionFqn();
         if (fqn == null) throw new ConfigurationException("Regions cannot be configured with a null region fqn.  If you configured this region programmatically, ensure that you set the region fqn in EvictionRegionConfig");
         if (trace) log.trace("Creating eviction region " + fqn);

         if (fqn.equals(DEFAULT_REGION) || fqn.isRoot())
         {
            if (setDefault)
            {
               throw new ConfigurationException("A default region for evictions has already been set for this cache");
            }
            if (trace) log.trace("Applying settings for default region to Fqn.ROOT");
            fqn = Fqn.ROOT;
            setDefault = true;
         }
View Full Code Here

Examples of org.jboss.forge.env.ConfigurationException

         projectLocalConfig = new XMLConfiguration(getProjectSettings(project).getUnderlyingResourceObject());
         projectLocalConfig.setEncoding("UTF-8");
      }
      catch (org.apache.commons.configuration.ConfigurationException e)
      {
         throw new ConfigurationException(e);
      }
      projectLocalConfig.setReloadingStrategy(new FileChangedReloadingStrategy());
      projectLocalConfig.setAutoSave(true);

      ConfigurationAdapter adapter = BeanManagerUtils.getContextualInstance(bm, ConfigurationAdapter.class,
View Full Code Here

Examples of org.jboss.identity.federation.core.exceptions.ConfigurationException

         {
            throw new ParsingException(e);
         }
         catch (ParserConfigurationException e)
         {
            throw new ConfigurationException(e);
         }
         catch (IOException e)
         {
            throw new ProcessingException(e);
         }
         catch (TransformerFactoryConfigurationError e)
         {
            throw new ConfigurationException(e);
         }
         catch (TransformerException e)
         {
            throw new ProcessingException(e);
         }
View Full Code Here

Examples of org.jboss.jaxb.intros.ConfigurationException

            {
               return Class.forName(xmlElementIntro.getType());
            }
            catch (ClassNotFoundException e)
            {
               throw new ConfigurationException("Bad 'XmlElement.type' config value '" + xmlElementIntro.getType() + "' in JAXB Annotation Introduction config.  Class not found.");
            }
         }
         return XmlElement.DEFAULT.class;
      }
      else if (methodName.equals("annotationType"))
View Full Code Here

Examples of org.jboss.narayana.blacktie.jatmibroker.core.conf.ConfigurationException

      MalformedObjectNameException, NullPointerException {
    // Obtain the JMXURL from the btconfig.xml
    XMLParser.loadProperties("btconfig.xsd", "btconfig.xml", prop);
    url = (String) prop.get("JMXURL");
    if (url == null) {
      throw new ConfigurationException(
          "No JMX url configuration in btconfig.xml");
    }
    this.blacktieAdmin = new ObjectName("jboss.blacktie:service=Admin");
  }
View Full Code Here

Examples of org.jboss.soa.esb.ConfigurationException

        listenerNode.setAttribute("name", listener.getName());

        try {
      bus = (FsBus) model.getBus(listener.getBusidref());
    } catch (ClassCastException e) {
      throw new ConfigurationException("Invalid busid reference [" + listener.getBusidref() + "] on listener [" + listener.getName() + "].  A <fs-listener> must reference a <fs-bus>.");
    }
    try {
      provider = (FsProvider) model.getProvider(bus);
    } catch (ClassCastException e) {
      throw new ConfigurationException("Invalid bus config [" + listener.getBusidref() + "].  Should be contained within a <fs-provider> instance.  Unexpected exception - this should have caused a validation error!");
    }
   
    FsMessageFilter messageFilter = listener.getFsMessageFilter();
    if(messageFilter == null) {
      messageFilter = bus.getFsMessageFilter();
      if(messageFilter == null) {
        throw new ConfigurationException("No <fs-detination> defined on either <fs-listener> [" + listener.getName() + "] or <fs-bus> [" + bus.getBusid() + "].");
      }
    }
    // Map the standard listener attributes - common across all listener types...
    MapperUtil.mapDefaultAttributes(listener, listenerNode, model);
    // Map the <property> elements targeted at the listener - from the listener itself.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.