Code example for UnknownHostException

0
        return ip[1] == ip2[1];
    } 
 
    public String getLocation(InetAddress endpoint) throws UnknownHostException
    { 
        throw new UnknownHostException("Not Supported");
    } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE