public class

ConnectException

extends SocketException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.net.SocketException
           ↳ java.net.ConnectException
Known Direct Subclasses

Class Overview

A ConnectException is thrown if a connection cannot be established to a remote host on a specific port.

Summary

Public Constructors
ConnectException()
This implementation does nothing.
ConnectException(String detailMessage)
This implementation does nothing.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ConnectException ()

This implementation does nothing.

public ConnectException (String detailMessage)

This implementation does nothing.

Parameters
detailMessage detail message of the exception.