RuntimeErrorclass
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_
the VM error number of the exception
exceptionMessage
the exception message, provided to us by the VM after creation
stack_
the stack trace, which we store at the time we’re created
Methods
construct (errno, ...)
OVERRIDDEN
no description available
displayException ( )
OVERRIDDEN
display the exception
isDebuggerSignal ( )
check to see if it’s a debugger signal of some kind
newRuntimeError (errno, msg)
create a runtime error with a given error message
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3