Finding Protocol Handlers
When you construct a URL object, the virtual machine looks for a protocol handler that understands the protocol part of the URL such as "http" or "mailto".
If no such handler is found, the constructor throws a MalformedURLException.