| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.mozilla.javascript.RhinoException
All known Subclasses: org.mozilla.javascript.JavaScriptException, org.mozilla.javascript.EvaluatorException, org.mozilla.javascript.EcmaError,
RhinoException | abstract public class RhinoException extends RuntimeException (Code) | | The class of exceptions thrown by the JavaScript engine.
|
interpreterLineData | int[] interpreterLineData(Code) | | |
RhinoException | RhinoException()(Code) | | |
columnNumber | final public int columnNumber()(Code) | | The column number of the location of the error, or zero if unknown.
|
getScriptStackTrace | public String getScriptStackTrace()(Code) | | Get a string representing the script stack of this exception.
If optimization is enabled, this corresponds to all java stack elements
with a source name ending with ".js".
a script stack dump since: 1.6R6 |
getScriptStackTrace | public String getScriptStackTrace(FilenameFilter filter)(Code) | | Get a string representing the script stack of this exception.
If optimization is enabled, this corresponds to all java stack elements
with a source name matching the filter .
Parameters: filter - the file name filter to determine whether a file is a script file a script stack dump since: 1.6R6 |
initColumnNumber | final public void initColumnNumber(int columnNumber)(Code) | | Initialize the column number of the script statement causing the error.
Parameters: columnNumber - the column number in the script source.It should be positive number. throws: IllegalStateException - if the method is called more then once. |
initLineNumber | final public void initLineNumber(int lineNumber)(Code) | | Initialize the line number of the script statement causing the error.
Parameters: lineNumber - the line number in the script source.It should be positive number. throws: IllegalStateException - if the method is called more then once. |
initLineSource | final public void initLineSource(String lineSource)(Code) | | Initialize the text of the source line containing the error.
Parameters: lineSource - the text of the source line responsible for the error.It should not be null. throws: IllegalStateException - if the method is called more then once. |
initSourceName | final public void initSourceName(String sourceName)(Code) | | Initialize the uri of the script source containing the error.
Parameters: sourceName - the uri of the script source responsible for the error.It should not be null. throws: IllegalStateException - if the method is called more then once. |
lineNumber | final public int lineNumber()(Code) | | Returns the line number of the statement causing the error,
or zero if not available.
|
lineSource | final public String lineSource()(Code) | | The source text of the line causing the error, or null if unknown.
|
recordErrorOrigin | final void recordErrorOrigin(String sourceName, int lineNumber, String lineSource, int columnNumber)(Code) | | |
sourceName | final public String sourceName()(Code) | | Get the uri of the script source containing the error, or null
if that information is not available.
|
|
|