public class EcmaError extends RhinoException
| Constructor and Description |
|---|
EcmaError(Scriptable nativeError,
String sourceName,
int lineNumber,
int columnNumber,
String lineSource)
Deprecated.
EcmaError error instances should not be constructed
explicitly since they are generated by the engine.
|
| Modifier and Type | Method and Description |
|---|---|
String |
details() |
int |
getColumnNumber()
Deprecated.
Use
RhinoException.columnNumber() from the super class. |
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. |
String |
getLineSource()
Deprecated.
Use
RhinoException.lineSource() from the super class. |
String |
getName()
Gets the name of the error.
|
String |
getSourceName()
Deprecated.
Use
RhinoException.sourceName() from the super class. |
columnNumber, getMessage, getScriptStackTrace, getScriptStackTrace, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, sourceNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic EcmaError(Scriptable nativeError, String sourceName, int lineNumber, int columnNumber, String lineSource)
public String details()
details in class RhinoExceptionpublic String getName()
public String getErrorMessage()
public 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 String getLineSource()
RhinoException.lineSource() from the super class.public Scriptable getErrorObject()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.