Class ConnectException

All Implemented Interfaces:
Serializable

public class ConnectException extends SocketException
A connection was refused, standing in for java.net.ConnectException.

Absent from the class library, and supplied because a library that opens a socket catches it. The platform refuses a connection to its own address ranges, to localhost, to a private network address and to port 25, and those are the refusals a program here will see.

Since:
1.0.0
See Also:
  • Constructor Details

    • ConnectException

      public ConnectException()
      With no message.
    • ConnectException

      public ConnectException(String message)
      Parameters:
      message - what was refused