public class EcmaError extends RhinoException
Constructor and Description |
---|
EcmaError(Scriptable nativeError,
java.lang.String sourceName,
int lineNumber,
int columnNumber,
java.lang.String lineSource)
Deprecated.
EcmaError error instances should not be constructed
explicitly since they are generated by the engine.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
details() |
int |
getColumnNumber()
Deprecated.
Use
RhinoException.columnNumber() from the super class. |
java.lang.String |
getErrorMessage()
Gets the message corresponding to the error.
|
Scriptable |
getErrorObject()
Deprecated.
Always returns null.
|
int |
getLineNumber()
Deprecated.
Use
RhinoException.lineNumber() from the super class. |
java.lang.String |
getLineSource()
Deprecated.
Use
RhinoException.lineSource() from the super class. |
java.lang.String |
getName()
Gets the name of the error.
|
java.lang.String |
getSourceName()
Deprecated.
Use
RhinoException.sourceName() from the super class. |
columnNumber, getMessage, getScriptStack, getScriptStack, getScriptStackTrace, getScriptStackTrace, getScriptStackTrace, getStackStyle, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, setStackStyle, sourceName, useMozillaStackStyle, usesMozillaStackStyle
@Deprecated public EcmaError(Scriptable nativeError, java.lang.String sourceName, int lineNumber, int columnNumber, java.lang.String lineSource)
public java.lang.String details()
details
in class RhinoException
public java.lang.String getName()
public java.lang.String getErrorMessage()
@Deprecated public java.lang.String getSourceName()
RhinoException.sourceName()
from the super class.@Deprecated public int getLineNumber()
RhinoException.lineNumber()
from the super class.@Deprecated public int getColumnNumber()
RhinoException.columnNumber()
from the super class.@Deprecated public java.lang.String getLineSource()
RhinoException.lineSource()
from the super class.@Deprecated public Scriptable getErrorObject()