C# Class Rhino.EcmaError

Inheritance: RhinoException
Show file Open project: hazzik/Rhino.Net

Public Methods

Method Description
Details ( ) : string
GetErrorMessage ( ) : string

Gets the message corresponding to the error.

Gets the message corresponding to the error. See ECMA edition 3, 15.11.7.10.

GetName ( ) : string

Gets the name of the error.

Gets the name of the error. ECMA edition 3 defines the following errors: EvalError, RangeError, ReferenceError, SyntaxError, TypeError, and URIError. Additional error names may be added in the future. See ECMA edition 3, 15.11.7.9.

Private Methods

Method Description
EcmaError ( Scriptable nativeError, string sourceName, int lineNumber, int columnNumber, string lineSource ) : Rhino
EcmaError ( string errorName, string errorMessage, string sourceName, int lineNumber, string lineSource, int columnNumber ) : Rhino

Create an exception with the specified detail message.

Create an exception with the specified detail message. Errors internal to the JavaScript engine will simply throw a RuntimeException.

GetColumnNumber ( ) : int
GetErrorObject ( ) : Scriptable
GetLineNumber ( ) : int
GetLineSource ( ) : string
GetSourceName ( ) : string

Method Details

Details() public method

public Details ( ) : string
return string

GetErrorMessage() public method

Gets the message corresponding to the error.
Gets the message corresponding to the error. See ECMA edition 3, 15.11.7.10.
public GetErrorMessage ( ) : string
return string

GetName() public method

Gets the name of the error.
Gets the name of the error. ECMA edition 3 defines the following errors: EvalError, RangeError, ReferenceError, SyntaxError, TypeError, and URIError. Additional error names may be added in the future. See ECMA edition 3, 15.11.7.9.
public GetName ( ) : string
return string