code: private static void setScalarParam(String name, Object value) throws ConfigurationException {
          try {
              Field field = config.getClass().getDeclaredField(name);
              field.set(config, value);
          } catch (SecurityException | NoSuchFieldException | IllegalAccessException e) {
              throw new ConfigurationException("Unknown configuration parameter: " + name);
          } catch (IllegalArgumentException e) {
              throw new ConfigurationException("Couldn't parse parameter: " + value);
          }
      }
docs: Return false if given name is not a known scalar configuration parameter