Examples of ConfigException


Examples of ca.nengo.ui.configurable.ConfigException

    NetworkImpl network = new NetworkImpl();

    try {
      network.setName(name);
    } catch (StructuralException e) {
      throw new ConfigException(e.getMessage());
    }

    return network;
  }
View Full Code Here

Examples of com.alibaba.antx.config.ConfigException

                istream = new BufferedInputStream(istream, 8192);
            }

            return addConfigDescriptor(descriptorResource, istream);
        } catch (IOException e) {
            throw new ConfigException(e);
        } finally {
            if (istream != null) {
                try {
                    istream.close();
                } catch (IOException e) {
View Full Code Here

Examples of com.alibaba.otter.shared.common.model.config.ConfigException

                                String[] names = StringUtils.split(fullNameColumn.getColumnValue(), ".");
                                if (names.length >= 2) {
                                    dataMedia = ConfigHelper.findSourceDataMedia(pipeline, names[0], names[1]);
                                    eventData.setTableId(dataMedia.getId());
                                } else {
                                    throw new ConfigException("no such DataMedia " + names);
                                }
                            }
                        } else {
                            // 如果指定了tableId,需要按照tableId进行严格查找,如果没找到,那说明不需要进行同步
                            dataMedia = ConfigHelper.findDataMedia(pipeline,
View Full Code Here

Examples of com.avast.syringe.config.ConfigException

                try {
                    injection.apply(bean, props, resolver);
                } catch (ConfigException e) {
                    throw e;
                } catch (Exception e) {
                    throw new ConfigException(injection.getProperty().getName(), bean.getClass().getName(), "", e);
                }
            }
            return bean;
    }
View Full Code Here

Examples of com.caucho.config.ConfigException

  {
    if (_resin.isWatchdogManagerConfig())
      return;
     
    if (_resin.findClient(config.getId()) != null)
      throw new ConfigException(L.l("<server id='{0}'> is a duplicate server.  servers must have unique ids.",
                                    config.getId()));
     
    _resin.addServer(config);
    _resin.addClient(new WatchdogClient(_system, _resin, config));
  }
View Full Code Here

Examples of com.dotcms.repackage.com.caucho.config.ConfigException

      php.setCompile(false);
      php.setLazyCompile(false);
    } else if ("lazy".equals(isCompile)) {
      php.setLazyCompile(true);
    } else
      throw new ConfigException(
          "'{0}' is an unknown compile value.  Values are 'true', 'false', or 'lazy'.");
  }
View Full Code Here

Examples of com.github.stephenc.javaisotools.iso9660.ConfigException

     */
    public void setGenBootInfoTable(boolean genBootInfoTable) throws ConfigException {
        if (!genBootInfoTable || this.bootMediaType == ElToritoConfig.BOOT_MEDIA_TYPE_NO_EMU) {
            this.genBootInfoTable = genBootInfoTable;
        } else {
            throw new ConfigException(this, "Boot info table generation requires no-emulation image.");
        }
    }
View Full Code Here

Examples of com.google.code.fqueue.exception.ConfigException

        setting.put(key, p.getProperty(key));
      }
      in.close();
    } catch (FileNotFoundException e) {
      log.error("config file not found at" + file.getAbsolutePath());
      throw new ConfigException("FileNotFoundException", e);
    } catch (IOException e) {
      log.error("config file not found at" + file.getAbsolutePath());
      throw new ConfigException("IOException", e);
    } catch (Exception e) {
      throw new ConfigException("Exception", e);
    }
  }
View Full Code Here

Examples of com.hp.hpl.jena.shared.ConfigException

            try {
              owlSyntaxCheckerClass = Class.forName(owlSyntaxCheckerClassName);
              owlSyntaxCheckerClass.newInstance();
            }
            catch (Exception e){
                throw new ConfigException("owlsyntax.jar must be on the classpath.",e);
            }
        }
    }
View Full Code Here

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

  private void initFromConfigModel() throws ConfigException
  {
    ResIterator ri = configModel.listSubjectsWithProperty(RDF.type, DbMap.Map);
   
    if (!ri.hasNext())
      throw new ConfigException("No map in config file");
   
    this.map = ri.nextResource();
    if (ri.hasNext())
      log.warn("There is more than one map in the config file");
   
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.