code: @Override
  	public <T> T asObject(String string, Class<T> valueType) throws ConverterException {
  		// at this point value type is guaranteed to be URL
  		try {
  			return (T) new URL(string);
  		} catch (MalformedURLException e) {
  			throw new ConverterException(e.getMessage());
  		}
  	}
docs: Convert URL string representation into URL instance.
  
  @throws ConverterException if given string is not a valid URL.