MalformedURLException
class in package klyn.net

    public class MalformedURLException extends IOException:

Object
└ Exception
└ IOException
└ MalformedURLException

Raised when a URL cannot be parsed.

    import klyn.net

    try URL("not-a-url")
    catch err as MalformedURLException:
    print(err.message)

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

Modifier and Type | Member | Description
--- | --- | ---
public | MalformedURLException `MalformedURLException(message as String = "Malformed URL"):` | Creates a malformed-URL exception.

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