Method | Description | |
---|---|---|
ColumnNumber ( ) : int |
The column number of the location of the error, or zero if unknown. The column number of the location of the error, or zero if unknown. |
|
Details ( ) : string | ||
GetScriptStack ( ) : Rhino.ScriptStackElement[] |
Get the script stack of this exception as an array of
|
|
GetScriptStackTrace ( ) : string |
Get a string representing the script stack of this exception. Get a string representing the script stack of this exception. If optimization is enabled, this includes java stack elements whose source and method names suggest they have been generated by the Rhino script compiler. |
|
InitColumnNumber ( int columnNumber ) : void |
Initialize the column number of the script statement causing the error. Initialize the column number of the script statement causing the error. |
|
InitLineNumber ( int lineNumber ) : void |
Initialize the line number of the script statement causing the error. Initialize the line number of the script statement causing the error. |
|
InitLineSource ( string lineSource ) : void |
Initialize the text of the source line containing the error. Initialize the text of the source line containing the error. |
|
InitSourceName ( string sourceName ) : void |
Initialize the uri of the script source containing the error. Initialize the uri of the script source containing the error. |
|
LineNumber ( ) : int |
Returns the line number of the statement causing the error, or zero if not available. Returns the line number of the statement causing the error, or zero if not available. |
|
LineSource ( ) : string |
The source text of the line causing the error, or null if unknown. The source text of the line causing the error, or null if unknown. |
|
PrintStackTrace ( |
||
PrintStackTrace ( |
||
SourceName ( ) : string |
Get the uri of the script source containing the error, or null if that information is not available. Get the uri of the script source containing the error, or null if that information is not available. |
|
UseMozillaStackStyle ( bool flag ) : void |
Tell subclasses of
|
|
UsesMozillaStackStyle ( ) : bool |
Returns true if subclasses of Returns true if subclasses of |
Method | Description | |
---|---|---|
GenerateStackTrace ( ) : string | ||
GetScriptStackTrace ( FilenameFilter filter ) : string | ||
RecordErrorOrigin ( string sourceName, int lineNumber, string lineSource, int columnNumber ) : void | ||
RhinoException ( ) : System | ||
RhinoException ( string details ) : System |
public GetScriptStack ( ) : Rhino.ScriptStackElement[] | ||
return | Rhino.ScriptStackElement[] |
public InitColumnNumber ( int columnNumber ) : void | ||
columnNumber | int | /// the column number in the script source. /// It should be positive number. /// |
return | void |
public InitLineNumber ( int lineNumber ) : void | ||
lineNumber | int | /// the line number in the script source. /// It should be positive number. /// |
return | void |
public InitLineSource ( string lineSource ) : void | ||
lineSource | string | /// the text of the source line responsible for the error. /// It should not be null. /// |
return | void |
public InitSourceName ( string sourceName ) : void | ||
sourceName | string | /// the uri of the script source responsible for the error. /// It should not be null. /// |
return | void |
public PrintStackTrace ( |
||
s | ||
return | void |
public PrintStackTrace ( |
||
s | ||
return | void |
public static UseMozillaStackStyle ( bool flag ) : void | ||
flag | bool | whether to render stacks in Mozilla/Firefox style |
return | void |
public static UsesMozillaStackStyle ( ) : bool | ||
return | bool |