Package com.ipc.oce.exceptions

Examples of com.ipc.oce.exceptions.ConfigurationException


   * @throws IOException
   * @throws ConfigurationException
   */
  public int connect(PropertiesReader reader, String[] altConfigs) throws ConfigurationException, JIException, IOException {
   
    ConfigurationException ce = null;
    JIException je = null;
    IOException ie = null;
   
    for (String configurationName : altConfigs) {
      try {
View Full Code Here


  public final Properties getPropertiesForInstance(final String instanceName)
      throws ConfigurationException {
    // check conf name ------------
    List<String> allCfgs = Arrays.asList(getConfigurationNames());
    if (!allCfgs.contains(instanceName)) {
      throw new ConfigurationException("Configuration '" + instanceName + "' not found. Available cfgs: " + allCfgs.toString());
    }
    //-----------------------------
    Properties tmp = new Properties();
    String[] prefs = new String[] { _OCE_CFG_DRIVER, _OCE_CFG_HOST,
        _OCE_CFG_HOST_USER, _OCE_CFG_HOST_PASSWORD, _OCE_CFG_1CDB_PATH,
View Full Code Here

TOP

Related Classes of com.ipc.oce.exceptions.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.