ConnectException
class in package klyn.net

    public class ConnectException extends SocketException:

Object
└ Exception
└ IOException
└ SocketException
└ ConnectException

Raised when connecting a client socket fails.

    import klyn.net

    throw ConnectException("Connection refused")

Inherited Properties
property Inherited Properties from Exception: message
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | ConnectException `ConnectException(message as String = "Connection failed"):` | Creates a connection exception.

Inherited Methods
method Inherited Methods from Exception: toString
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml