org.mozilla.javascript
public class JavaScriptException extends RhinoException
| Constructor Summary | |
|---|---|
| JavaScriptException(Object value) | |
| JavaScriptException(Object value, String sourceName, int lineNumber)
Create a JavaScript exception wrapping the given JavaScript value
| |
| Method Summary | |
|---|---|
| String | details() |
| int | getLineNumber() |
| String | getSourceName() |
| Object | getValue() |
Deprecated: Use WrappedException to report exceptions in Java code.
Parameters: value the JavaScript value thrown.
Deprecated: Use lineNumber from the super class.
Deprecated: Use sourceName from the super class.
Returns: the value wrapped by this exception