UnknownHostException Java

Java UnknownHostException It is a subclass of IOException. This exception is thrown when the IP address of the other system (say, server) is not found by the networking software. No confusion here, between MalformedURLException and UnknownHostException. Wrong format is MalformedURLException and unable to locate in the network it is UnknownHostException. Following is the hierarchy. Object …

UnknownHostException Java Read More »