C# Class Rhino.EvaluatorException

Inheritance: RhinoException
显示文件 Open project: hazzik/Rhino.Net

Public Methods

Method Description
EvaluatorException ( string detail ) : Rhino
EvaluatorException ( string detail, string sourceName, int lineNumber ) : 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.

EvaluatorException ( string detail, 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.

Private Methods

Method Description
GetColumnNumber ( ) : int
GetLineNumber ( ) : int
GetLineSource ( ) : string
GetSourceName ( ) : string

Method Details

EvaluatorException() public method

public EvaluatorException ( string detail ) : Rhino
detail string
return Rhino

EvaluatorException() public method

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.
public EvaluatorException ( string detail, string sourceName, int lineNumber ) : Rhino
detail string the error message
sourceName string the name of the source reponsible for the error
lineNumber int the line number of the source
return Rhino

EvaluatorException() public method

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.
public EvaluatorException ( string detail, string sourceName, int lineNumber, string lineSource, int columnNumber ) : Rhino
detail string the error message
sourceName string the name of the source responsible for the error
lineNumber int the line number of the source
lineSource string /// the source of the line containing the error (may be /// null if unknown) ///
columnNumber int /// the columnNumber of the source (may be zero if /// unknown) ///
return Rhino