Java In A Nutshell, 5th Edition
Signals that the name of a specified host could not be resolved. Figure 12-23. java.net.UnknownHostException
public class UnknownHostException extends java.io.IOException { // Public Constructors public UnknownHostException ( ); public UnknownHostException (String host ); }
Thrown By
Inet6Address.getByAddress( ) , InetAddress.{getAllByName( ) , getByAddress( ) , getByName( ) , getLocalHost( )} , Socket.Socket( ) , javax.net.SocketFactory.createSocket( ) , javax.net.ssl.SSLSocket.SSLSocket( ) |