public class EcmaError extends RhinoException
构造器和说明 |
---|
EcmaError(Scriptable nativeError,
java.lang.String sourceName,
int lineNumber,
int columnNumber,
java.lang.String lineSource)
已过时。
EcmaError error instances should not be constructed
explicitly since they are generated by the engine.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
details() |
int |
getColumnNumber()
已过时。
Use
RhinoException.columnNumber() from the super class. |
java.lang.String |
getErrorMessage()
Gets the message corresponding to the error.
|
Scriptable |
getErrorObject()
已过时。
Always returns null.
|
int |
getLineNumber()
已过时。
Use
RhinoException.lineNumber() from the super class. |
java.lang.String |
getLineSource()
已过时。
Use
RhinoException.lineSource() from the super class. |
java.lang.String |
getName()
Gets the name of the error.
|
java.lang.String |
getSourceName()
已过时。
Use
RhinoException.sourceName() from the super class. |
columnNumber, getMessage, getScriptStack, getScriptStackTrace, getScriptStackTrace, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, sourceName, useMozillaStackStyle, usesMozillaStackStyle
public EcmaError(Scriptable nativeError, java.lang.String sourceName, int lineNumber, int columnNumber, java.lang.String lineSource)
public java.lang.String details()
details
在类中 RhinoException
public java.lang.String getName()
public java.lang.String getErrorMessage()
public java.lang.String getSourceName()
RhinoException.sourceName()
from the super class.public int getLineNumber()
RhinoException.lineNumber()
from the super class.public int getColumnNumber()
RhinoException.columnNumber()
from the super class.public java.lang.String getLineSource()
RhinoException.lineSource()
from the super class.public Scriptable getErrorObject()