public class JavaScriptException extends RhinoException
构造器和说明 |
---|
JavaScriptException(java.lang.Object value)
已过时。
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
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
details() |
int |
getLineNumber()
已过时。
Use
RhinoException.lineNumber() from the super class. |
java.lang.String |
getSourceName()
已过时。
Use
RhinoException.sourceName() from the super class. |
java.lang.Object |
getValue() |
columnNumber, getMessage, getScriptStack, getScriptStackTrace, getScriptStackTrace, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, sourceName, useMozillaStackStyle, usesMozillaStackStyle
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
在类中 RhinoException
public java.lang.Object getValue()
public java.lang.String getSourceName()
RhinoException.sourceName()
from the super class.public int getLineNumber()
RhinoException.lineNumber()
from the super class.