start page | rating of books | rating of authors | reviews | copyrights

Java in a Nutshell

Previous Chapter 28
The java.net Package
Next
 

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()


Previous Home Next
java.net.SocketImplFactory (JDK 1.0) Book Index java.net.UnknownServiceException (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java