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