ERROR - java.net.UnknownHostException - Possible Causes of UnknownHostException

Exception Thrown By:Cause
ClassMethod
InetAddress public static InetAddress
getByName(String host)
if no IP address
for the host could be found.
InetAddress public static InetAddress[]
getAllByName(String host)
if no IP address
for the host could be found.
InetAddress public static InetAddress
getByAddress(byte[] addr)
if IP address
is of illegal length
InetAddress public static InetAddress
getLocalHost()
if the local host name
could not be resolved into an address.