Examples of ConfigException


Examples of com.hp.hpl.squirrelrdf.querymap.exceptions.ConfigException

    while (si.hasNext())
    {
      Resource primKey = si.nextStatement().getResource();
      Col primCol = prop2col.get(primKey);
      if (primCol == null)
        throw new ConfigException("Primary key unknown: " + primKey);
      else
        primCol.setIsPrimaryKey(true);
    }
  }
View Full Code Here

Examples of com.rackspacecloud.blueflood.exceptions.ConfigException

        final TimeValue ttl = ttlMapper.get(gran, rollupType);

        if (ttl == null) {
            log.warn("No valid TTL entry for granularity: " + gran + ", rollup type: " + rollupType.name()
                    + " in config. Resorting to safe TTL values.");
            throw new ConfigException("No TTL config found for granularity: " + gran
                    + ", rollup type: " + rollupType.name());
        }

        return ttl;
    }
View Full Code Here

Examples of com.sun.enterprise.config.ConfigException

        AppclientModule app = (AppclientModule)
            ((Applications)this.configBean).getAppclientModuleByName(appId);

        if(app == null)
      throw new ConfigException(
                Localizer.getValue(ExceptionType.APP_NOT_EXIST));
        return app;
       
    }
View Full Code Here

Examples of com.taobao.tddl.jdbc.group.exception.ConfigException

  /**
   * ������ͨ��DataSource�����дDBSelector
   */
  public void init(List<DataSourceWrapper> dataSourceWrappers) {
    if ((dataSourceWrappers == null) || dataSourceWrappers.size() < 1) {
      throw new ConfigException("dataSourceWrappers����Ϊnull�ҳ���Ҫ����0");
    }
    createTAtomDataSource = false;
    // update(createDBSelectors2(dataSourceWrappers));
    resetByDataSourceWrapper(dataSourceWrappers);
  }
View Full Code Here

Examples of com.xmultra.exception.ConfigException

                }
            }
            // Validate the number and convert.
            if (!xformerUtils.isNumberValid(
                    valueStr, false, element.getLocalName(), attrName)) {
                throw new ConfigException();
            }
            return Integer.parseInt(valueStr);
        }
View Full Code Here

Examples of de.ailis.xadrian.exceptions.ConfigException

    private static String getPrefsName(final Component component,
        final String key)
    {
        final String name = component.getName();
        if (name == null)
            throw new ConfigException(
                "Unable to save state of component with no name: "
                    + component);
        return name.toLowerCase(Locale.getDefault()) + "." +
            key.toLowerCase(Locale.getDefault());
    }
View Full Code Here

Examples of de.odysseus.calyxo.base.conf.ConfigException

   * @param loader
   * @throws ConfigException
   */
  public void setClassLoader(ClassLoader loader) throws ConfigException {
    if (this.loader != null) {
      throw new ConfigException("Module class loader must not be set more than once!");
    }
    this.loader = loader;
  }
View Full Code Here

Examples of de.odysseus.calyxo.base.conf.ConfigException

      String token = tokens.nextToken().trim();
      URL url = null;
      try {
        url = context.getServletContext().getResource(token);
      } catch (MalformedURLException e) {
        throw new ConfigException(e);
      }
      if (url == null) {
        throw new ConfigException("Could not find resource " + token);
      } else {
        list.add(url);
      }
    }
    URL[] urls = (URL[])list.toArray(new URL[list.size()]);
View Full Code Here

Examples of de.odysseus.calyxo.base.conf.ConfigException

      String token = tokens.nextToken().trim();
      URL url = null;
      try {
        url = context.getServletContext().getResource(token);
      } catch (MalformedURLException e) {
        throw new ConfigException(e);
      }
      if (url == null) {
        throw new ConfigException("Could not find resource " + token);
      } else {
        list.add(url);
      }
    }
    URL[] inputs = (URL[])list.toArray(new URL[list.size()]);
View Full Code Here

Examples of de.odysseus.calyxo.base.conf.ConfigException

  /**
   * Add dispatch element.
   */
  public void add(DispatchConfigImpl value) throws ConfigException {
    if (dispatches.containsKey(value.getName())) {
      throw new ConfigException("Duplicate dispatch name '" + value.getName() + "' in " + toInlineString());
    }
    dispatches.put(value.getName(), value);
  }
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.