Uses of Class
org.mozilla.javascript.JavaScriptException
-
Uses of JavaScriptException in org.mozilla.javascript
Modifier and TypeMethodDescriptionstatic JavaScriptException
ScriptRuntime.throwCustomError
(Context cx, Scriptable scope, String constructorName, String message) Equivalent to executing "new $constructorName(message, sourceFileName, sourceLineNo)" from JavaScript.static JavaScriptException
ScriptRuntime.throwError
(Context cx, Scriptable scope, String message) Equivalent to executing "new Error(message, sourceFileName, sourceLineNo)" from JavaScript.