public class JavaScriptException extends RhinoException
Constructor and Description |
---|
JavaScriptException(Object value)
Deprecated.
Use
WrappedException.WrappedException(Throwable) to report
exceptions in Java code. |
JavaScriptException(Object value,
String sourceName,
int lineNumber)
Create a JavaScript exception wrapping the given JavaScript value
|
Modifier and Type | Method and Description |
---|---|
String |
details() |
int |
getLineNumber()
Deprecated.
Use
RhinoException.lineNumber() from the super class. |
String |
getSourceName()
Deprecated.
Use
RhinoException.sourceName() from the super class. |
Object |
getValue() |
columnNumber, getMessage, getScriptStack, getScriptStackTrace, getScriptStackTrace, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, sourceName, useMozillaStackStyle, usesMozillaStackStyle
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public JavaScriptException(Object value)
WrappedException.WrappedException(Throwable)
to report
exceptions in Java code.public String details()
details
in class RhinoException
public Object getValue()
public String getSourceName()
RhinoException.sourceName()
from the super class.public int getLineNumber()
RhinoException.lineNumber()
from the super class.