code: public int mandatoryParamAsInt(String key) {
      String s = mandatoryParam(key);
      return parseInt(key, s);
    }
docs: Returns an int value. To be used when parameter is required or has a default value.
  
  @throws java.lang.IllegalArgumentException is value is null or blank