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

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

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

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