MalformedURLException
classin packageklyn.net
public class MalformedURLException extends IOException:
└ MalformedURLException
Raised when a URL cannot be parsed.
import klyn.net

try URL("not-a-url")
catch err as MalformedURLException:
print(err.message)
Properties inherited from Exception: message
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public MalformedURLException
MalformedURLException(message as String = "Malformed URL"):
Creates a malformed-URL exception.
Methods inherited from Exception: toString
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml