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")

Properties inherited from Exception: message
Properties inherited from Object: type
Constructors

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

Methods inherited from Exception: toString
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml