public class JavaScriptException extends RhinoException
| Constructor and Description |
|---|
JavaScriptException(java.lang.Object value)
Deprecated.
Use
WrappedException.WrappedException(Throwable) to report exceptions in
Java code. |
JavaScriptException(java.lang.Object value,
java.lang.String sourceName,
int lineNumber)
Create a JavaScript exception wrapping the given JavaScript value
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
details() |
java.lang.String |
getDetails() |
int |
getLineNumber()
Deprecated.
Use
RhinoException.lineNumber() from the super class. |
java.lang.String |
getSourceName()
Deprecated.
Use
RhinoException.sourceName() from the super class. |
java.lang.Object |
getValue() |
columnNumber, getMessage, getScriptStack, getScriptStack, getScriptStackTrace, getScriptStackTrace, getScriptStackTrace, getStackStyle, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, setStackStyle, sourceName, useMozillaStackStyle, usesMozillaStackStyle@Deprecated public JavaScriptException(java.lang.Object value)
WrappedException.WrappedException(Throwable) to report exceptions in
Java code.public JavaScriptException(java.lang.Object value,
java.lang.String sourceName,
int lineNumber)
value - the JavaScript value thrown.public java.lang.String details()
details in class RhinoExceptionpublic java.lang.String getDetails()
public java.lang.Object getValue()
@Deprecated public java.lang.String getSourceName()
RhinoException.sourceName() from the super class.@Deprecated public int getLineNumber()
RhinoException.lineNumber() from the super class.