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 );
}