code: public void setTtl(String ttlString) {
  	if ( ttlString != null && !ttlString.isEmpty() )
      try {
        this.ttl = Integer.valueOf(ttlString);
      } catch (NumberFormatException e) {
        LOGGER.warn("Error trying to format the string " + ttlString + " into an Integer.");
      }
    }
docs: Set the Time To Live (TTL) for the services. This method takes a string and
  is provided as a convenience for developers (like me) that just wnat to jam
  the string into the wrapper and let it worry about converting it.
  
  @param ttlString the number of hops