March 2005
Beginner to intermediate
1254 pages
104h 21m
English
UnknownHostException
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); }
Inet6Address.getByAddress( ),
InetAddress.{getAllByName( ),
getByAddress( ), getByName( ),
getLocalHost( )}, Socket.Socket(
), javax.net.SocketFactory.createSocket(
), javax.net.ssl.SSLSocket.SSLSocket( )
Read now
Unlock full access