SocketException
class in package klyn.net

    public class SocketException extends IOException:

Object
└ Exception
└ IOException
└ SocketException

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

    import klyn.net

    throw SocketException("Connection failed")

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

Modifier and Type | Member | Description
--- | --- | ---
public | SocketException `SocketException(message as String = "Socket error"):` | Creates a socket exception.

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