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