RhinoException

The class of exceptions thrown by the JavaScript engine.

Phase 0 shell: source-position plumbing and message composition only. Phase 3 ports the full class (script stacks, interpreter integration).

Inheritors

Constructors

Link copied to clipboard
constructor()
constructor(details: String)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

How a script stack trace is rendered.

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override val message: String
Link copied to clipboard

The script frames at the time of the throw, innermost first.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun details(): String
Link copied to clipboard
fun getScriptStack(limit: Int, hideFunction: String?): Array<ScriptStackElement>
Link copied to clipboard
fun getScriptStackTrace(limit: Int, functionName: String?): String
Link copied to clipboard
fun initColumnNumber(columnNumber: Int)
Link copied to clipboard
fun initLineNumber(lineNumber: Int)
Link copied to clipboard
fun initLineSource(lineSource: String)
Link copied to clipboard
fun initSourceName(sourceName: String)

Each of these may be set once, and only to a real value.