1.

When Malformedurlexception And Unknownhostexception Throws?

Answer»

When the specified URL is not connected then the URL throw MalformedURLException and If INETADDRESS? methods getByName and getLocalHost are unable to RESOLVE the HOST NAME they throw an UNKNOWNHOSTEXCEPTION.

When the specified URL is not connected then the URL throw MalformedURLException and If InetAddress? methods getByName and getLocalHost are unable to resolve the host name they throw an UnknownHostException.



Discussion

No Comment Found