ConnectException
classin packageklyn.net
public class ConnectException extends 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