org.mozilla.javascript
Class JavaScriptException
public class JavaScriptException
Java reflection of JavaScript exceptions.
Instances of this class are thrown by the JavaScript 'throw' keyword.
columnNumber , details , getMessage , initColumnNumber , initLineNumber , initLineSource , initSourceName , lineNumber , lineSource , printStackTrace , printStackTrace , sourceName |
JavaScriptException
public JavaScriptException(Object value,
String sourceName,
int lineNumber)
Create a JavaScript exception wrapping the given JavaScript value
value
- the JavaScript value thrown.
getValue
public Object getValue()
- the value wrapped by this exception