ConnectException
classin packageklyn.net
public class ConnectException extends SocketException:
└ ConnectException

Raised when connecting a client socket fails.

import klyn.net

throw ConnectException("Connection refused")
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public ConnectException
ConnectException(message as String = "Connection failed"):
Creates a connection exception.
Inherited Methods
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml