UnknownHostException
class in package klyn.net

    public class UnknownHostException extends SocketException:

Object
└ Exception
└ IOException
└ SocketException
└ UnknownHostException

Raised when a host name cannot be resolved.

    import klyn.net

    throw UnknownHostException("Unknown host")

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

Modifier and Type | Member | Description
--- | --- | ---
public | UnknownHostException `UnknownHostException(message as String = "Unknown host"):` | Creates an unknown-host exception.

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