RuntimeErrorclass | _main.t[777]

RuntimeError exception class. The VM creates and throws an instance of this class when any run-time error occurs. The VM explicitly sets the exceptionMessage property to a string giving the VM error message for the run-time error that occurred.

`class RuntimeError : Exception`

Superclass Tree (in declaration order)

`RuntimeError`
`Exception`
`object`

Subclass Tree

`RuntimeError`
`StorageServerError`

Global Objects

(none)

Summary of Properties

`errno_ exceptionMessage stack_`

Inherited from `Exception` :
`errmsg_`

Summary of Methods

`construct displayException isDebuggerSignal newRuntimeError`

Inherited from `Exception` :
`getExceptionMessage showStackTrace`

Properties

`errno_` | `_main.t[828]`

the VM error number of the exception

`exceptionMessage` | `_main.t[831]`

the exception message, provided to us by the VM after creation

`stack_` | `_main.t[834]`

the stack trace, which we store at the time we're created

Methods

`construct (errno, ...)`OVERRIDDEN | `_main.t[778]`

no description available

`displayException ( )`OVERRIDDEN | `_main.t[809]`

display the exception

`isDebuggerSignal ( )` | `_main.t[819]`

check to see if it's a debugger signal of some kind

`newRuntimeError (errno, msg)` | `_main.t[801]`

create a runtime error with a given error message

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2