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

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

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

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