28.20 java.net.UnknownHostException (JDK 1.0)Signals that the name of a specified host could not be resolved.
public class UnknownHostException extends IOException { // Public Constructors public UnknownHostException(String host); public UnknownHostException(); } Hierarchy:Object->Throwable(Serializable)->Exception->IOException->UnknownHostException Thrown By:InetAddress.getAllByName(), InetAddress.getByName(), InetAddress.getLocalHost(), Socket() |
|