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

Base network exception for socket, TCP, TLS and HTTP transport failures.

import klyn.net

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