Examples of ConfigurationException


Examples of com.dhemery.configuring.ConfigurationException

     * If you inizialized this {@code Expressive} using the no-args {@link #Expressive()} constructor,
     * you must override {@code getTicker()} to provide the default ticker for {@code Expressive} to use.
     * @return the default ticker for {@code Expressive} to use
     */
    protected Ticker getTicker() {
        throw new ConfigurationException("Please override getTicker() to provide a default ticker for Expressive to use.");
    }
View Full Code Here

Examples of com.dtolabs.rundeck.core.plugins.configuration.ConfigurationException

        }
    }

    public void validate() throws ConfigurationException {
        if (null == accessKey) {
            throw new ConfigurationException("accessKey is required");
        }
        if (null == secretKey) {
            throw new ConfigurationException("secretKey is required");
        }

    }
View Full Code Here

Examples of com.ecyrd.speed4j.ConfigurationException

        {
            log.debug("JMX bean '{}' already registered, continuing...");
        }
        catch (Exception e)
        {
            throw new ConfigurationException(e);
        }
    }
View Full Code Here

Examples of com.elasticinbox.config.ConfigurationException

          keys.put(alias, sk);
          logger.debug("Loaded encyption key {} from keystore.", alias);
        }
      }
    } catch (IOException ioe) {
      throw new ConfigurationException("Unable to access key store: " + ioe.getMessage(), ioe);
    } catch (GeneralSecurityException gse) {
      throw new ConfigurationException("Unable to load encryption keys: " + gse.getMessage(), gse);
    }
  }
View Full Code Here

Examples of com.espertech.esper.client.ConfigurationException

        dmlQuery.setStream(stream);
        dmlQuery.setConnection(connection);
        dmlQuery.setSql(sql);
        dmlQuery.setBindings(bindings);
        if (sql == null) {
            throw new ConfigurationException("Sql is a required element");
        }
        configuration.getDmlQueries().add(dmlQuery);
    }
View Full Code Here

Examples of com.esri.gpt.framework.context.ConfigurationException

      mc = _connections.returnConnection(reference);
    } catch (ClassNotFoundException e) {
      String sMsg = "Unable to open connection for driver: "+
                    reference.getDirectDriverClassName()+
                    " (connectionTag="+referenceTag+")";
      throw new ConfigurationException(sMsg,e);
    } catch (NamingException e) {
      String sMsg = "Unable to open connection for jndiName: "+
                    reference.getJndiName()+
                    " (connectionTag="+referenceTag+")";
      throw new ConfigurationException(sMsg,e);
    }
  } else {
    String sMsg = "A databaseReference has not been configured for connectionTag: "+
                  referenceTag;
    throw new ConfigurationException(sMsg);
  }
  return mc;
}
View Full Code Here

Examples of com.gentics.cr.exceptions.ConfigurationException

   */
  public final RequestProcessor getNewRequestProcessorInstance(final String requestProcessorName) throws CRException {
    CRConfigUtil requestProcessorConfig = this.getRequestProcessorConfig(requestProcessorName);
    if (requestProcessorConfig == null) {
      log.error("Cannot initialize RequestProcessor " + requestProcessorName);
      throw new ConfigurationException("config", "We cannot get the " + "configuration for the RequestProcessor",
          CRException.ERRORTYPE.FATAL_ERROR);
    }
    String requestProcessorClass = requestProcessorConfig.getRequestProcessorClass();
    log.debug("Instanciate RequestProcessor" + requestProcessorName + " from class " + requestProcessorClass);
    try {
View Full Code Here

Examples of com.google.inject.ConfigurationException

   */
  public static <T> TypeLiteral<T> canonicalizeForKey(TypeLiteral<T> typeLiteral) {
    Type type = typeLiteral.getType();
    if (!isFullySpecified(type)) {
      Errors errors = new Errors().keyNotFullySpecified(typeLiteral);
      throw new ConfigurationException(errors.getMessages());
    }

    if (typeLiteral.getRawType() == javax.inject.Provider.class) {
      ParameterizedType parameterizedType = (ParameterizedType) type;

View Full Code Here

Examples of com.google.jstestdriver.config.ConfigurationException

      return DocType.STRICT;
    }
    if (unparsed.startsWith("<!DOCTYPE")) {
      return new DocType(unparsed);
    }
    throw new ConfigurationException("Invalid custom doctype: " + unparsed);
  }
View Full Code Here

Examples of com.intellij.openapi.options.ConfigurationException

            mavenMgr.setMavenHome(ui.mavenHomeField.getText());
            mavenMgr.setMavenOptions(ui.mavenOptionsField.getText());
            mavenMgr.setOffline(ui.offlineCheckBox.isSelected());
        }
        catch (IllegalMavenHomeException e) {
            throw new ConfigurationException(e.getMessage());
        }
    }
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.