ValueException
classin packageklyn
public class ValueException extends UncheckedException:
└ ValueException

Exception raised when a value is invalid for the requested operation or cannot be converted to the requested Klyn type.

Typical examples are negative dimensions, invalid mathematical domains, or an invalid textual representation passed to a primitive constructor.

Example
try:
Application.range(0, 10, 0)
catch exc as ValueException:
println(exc.message)
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public ValueException
ValueException(message as String = "Invalid value"):
Creates an exception describing an invalid value.
Inherited Methods
methodInherited Methods from UncheckedException: toString
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml