public class ValueException extends UncheckedException:
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.
try: Application.range(0, 10, 0) catch exc as ValueException: println(exc.message)
| Modifier and Type | Member | Description |
|---|---|---|
| public | ValueExceptionValueException(message as String = "Invalid value"): |
Creates an exception describing an invalid value. |