code: @Override
      public void setSetting(String setting) throws CDKException {
          try {
              Integer.parseInt(setting);
              this.setting = setting;
          } catch (NumberFormatException exception) {
              throw new CDKException("Setting " + setting + " is not an integer.", exception);
          }
      }
docs: Sets the setting for a certain question. The setting
  is a boolean, and it accepts only "true" and "false".