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

Java in a Nutshell

Previous Chapter 28
The java.net Package
Next
 

28.2 java.net.ConnectException (JDK 1.1)

This exception signals that a socket could not be connected to a remote address and port. This means that the remote host could be reached, but is not responding, perhaps because there is no process on that host that is listening on the specified port.

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

Hierarchy:

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


Previous Home Next
java.net.BindException (JDK 1.1) Book Index java.net.ContentHandler (JDK 1.0)

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










??????????????@Mail.ru