Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 359
نمايش فراداده

ConnectExceptionjava.net

Java 1.1serializable checked

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

Figure 12-2. java.net.ConnectException

public class

ConnectException extends SocketException { // Public Constructors public

ConnectException ( ); public

ConnectException (String

msg ); }