org.mozilla.javascript
public class EcmaError extends RhinoException
Constructor Summary | |
---|---|
EcmaError(Scriptable nativeError, String sourceName, int lineNumber, int columnNumber, String lineSource) |
Method Summary | |
---|---|
String | details() |
int | getColumnNumber() |
String | getErrorMessage()
Gets the message corresponding to the error.
|
Scriptable | getErrorObject() |
int | getLineNumber() |
String | getLineSource() |
String | getName()
Gets the name of the error.
|
String | getSourceName() |
Deprecated: EcmaError error instances should not be constructed explicitly since they are generated by the engine.
Deprecated: Use {@link RhinoException#columnNumber()} from the super class.
Returns: an implemenation-defined string describing the error.
Deprecated: Always returns null.
Deprecated: Use {@link RhinoException#lineNumber()} from the super class.
Deprecated: Use {@link RhinoException#lineSource()} from the super class.
Returns: the name of the error.
Deprecated: Use {@link RhinoException#sourceName()} from the super class.