code: public long getLong(final String name) {
      if (containsKey(name)) {
        return Long.parseLong(get(name));
      } else {
        throw new UndefinedPropertyException("Missing required property '" + name
            + "'");
      }
    }
docs: Returns the long representation of the value. If the value is null, then a
  UndefinedPropertyException will be thrown. If the value isn't a long, then a parse exception
  will be thrown.