Tabnine Logo
IsisConfigurationException.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.isis.core.commons.config.IsisConfigurationException
constructor

Best Java code snippets using org.apache.isis.core.commons.config.IsisConfigurationException.<init> (Showing top 2 results out of 315)

origin: org.apache.isis.runtimes.dflt/runtime

/**
 * Convenience method.
 * 
 * @see IsisSessionFactory#getConfiguration()
 */
public static IsisConfiguration getConfiguration() {
  if (configuration == null) {
    throw new IsisConfigurationException("No configuration available");
  }
  // REVIEW
  return configuration;
  // return getSessionFactory().getConfiguration();
}
origin: org.apache.isis.core/commons

/**
 * Gets the boolean value for the specified name. If no property is
 * specified with this name then the specified default boolean value is
 * returned.
 * 
 * @param name
 *            the property name
 * @param defaultValue
 *            the value to use as a default
 */
@Override
public boolean getBoolean(final String name, final boolean defaultValue) {
  String value = getProperty(name);
  if (value == null) {
    return defaultValue;
  }
  value = value.toLowerCase();
  if (value.equals("on") || value.equals("yes") || value.equals("true") || value.equals("")) {
    return true;
  }
  if (value.equals("off") || value.equals("no") || value.equals("false")) {
    return false;
  }
  throw new IsisConfigurationException("Illegal flag for " + name + "; must be one of on, off, yes, no, true or false");
}
org.apache.isis.core.commons.configIsisConfigurationException<init>

Popular methods of IsisConfigurationException

    Popular in Java

    • Parsing JSON documents to java classes using gson
    • getExternalFilesDir (Context)
    • getSystemService (Context)
    • getContentResolver (Context)
    • BigInteger (java.math)
      An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
    • Connection (java.sql)
      A connection represents a link from a Java application to a database. All SQL statements and results
    • DecimalFormat (java.text)
      A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
    • Iterator (java.util)
      An iterator over a sequence of objects, such as a collection.If a collection has been changed since
    • Properties (java.util)
      A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
    • Vector (java.util)
      Vector is an implementation of List, backed by an array and synchronized. All optional operations in
    • From CI to AI: The AI layer in your organization
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now