Validates and parses a URL string.

  • If the URL is invalid.