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 columnNumber from the super class.
Returns: an implemenation-defined string describing the error.
Deprecated: Always returns null.
Deprecated: Use lineNumber from the super class.
Deprecated: Use lineSource from the super class.
Returns: the name of the error.
Deprecated: Use sourceName from the super class.