code: public static String getString(Map<String, String> settings, String name) throws IllegalArgumentException {
          if (!settings.containsKey(name)) {
              throw new IllegalArgumentException("No setting '" + name + "' found");
          }
          return settings.get(name);
      }
docs: Convert value of this setting to a Java <b>int</b>.
  
  If the setting is not found, an exception is thrown.
  
  @param name name of the property
  @return value of the property
  @throws IllegalArgumentException if setting is not found.