Code example for UnknownHostException

0
        return ip[1] == ip2[1];
    } 
 
    public String getLocation(InetAddress endpoint) throws UnknownHostException
    { 
        throw new UnknownHostException("Not Supported");
    } 
 
}