home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Java in a Nutshell

Previous Chapter 28
The java.net Package
Next
 

28.13 java.net.NoRouteToHostException (JDK 1.1)

This exception signals that a socket could not be connected to a remote host, because the host could not be contacted. Typically this means that some link in the network between the local machine and the remote host is down, or that the host is behind a firewall.

public class NoRouteToHostException extends SocketException {
    // Public Constructors
            public NoRouteToHostException(String msg);
            public NoRouteToHostException();
}

Hierarchy:

Object->Throwable(Serializable)->Exception->IOException->SocketException->NoRouteToHostException


Previous Home Next
java.net.MulticastSocket (JDK 1.1) Book Index java.net.ProtocolException (JDK 1.0)

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