C# 클래스 Jurassic.JavaScriptException

상속: System.Exception
파일 보기 프로젝트 열기: paulbartrum/jurassic

공개 메소드들

메소드 설명
JavaScriptException ( ScriptEngine engine, ErrorType type, string message ) : System

Creates a new JavaScriptException instance.

JavaScriptException ( ScriptEngine engine, ErrorType type, string message, Exception innerException ) : System

Creates a new JavaScriptException instance.

JavaScriptException ( ScriptEngine engine, ErrorType type, string message, int lineNumber, string sourcePath ) : System

Creates a new JavaScriptException instance.

JavaScriptException ( ScriptEngine engine, ErrorType type, string message, int lineNumber, string sourcePath, string functionName ) : System

Creates a new JavaScriptException instance.

JavaScriptException ( object errorObject, int lineNumber, string sourcePath ) : System

Creates a new JavaScriptException instance based on the given object.

JavaScriptException ( object errorObject, int lineNumber, string sourcePath, string functionName ) : System

Creates a new JavaScriptException instance based on the given object.

비공개 메소드들

메소드 설명
CreateError ( ScriptEngine engine, ErrorType type, string message ) : ErrorInstance

Creates an error object with the given message.

PopulateStackTrace ( ) : void

Populates the error object stack trace, if the error object is an Error.

메소드 상세

JavaScriptException() 공개 메소드

Creates a new JavaScriptException instance.
public JavaScriptException ( ScriptEngine engine, ErrorType type, string message ) : System
engine ScriptEngine The script engine used to create the error object.
type ErrorType The type of error, e.g. Error, RangeError, etc.
message string A description of the error.
리턴 System

JavaScriptException() 공개 메소드

Creates a new JavaScriptException instance.
public JavaScriptException ( ScriptEngine engine, ErrorType type, string message, Exception innerException ) : System
engine ScriptEngine The current script environment.
type ErrorType The type of error, e.g. Error, RangeError, etc.
message string A description of the error.
innerException System.Exception The exception that is the cause of the current exception, /// or null if no inner exception is specified.
리턴 System

JavaScriptException() 공개 메소드

Creates a new JavaScriptException instance.
public JavaScriptException ( ScriptEngine engine, ErrorType type, string message, int lineNumber, string sourcePath ) : System
engine ScriptEngine The current script environment.
type ErrorType The type of error, e.g. Error, RangeError, etc.
message string A description of the error.
lineNumber int The line number in the source file the error occurred on.
sourcePath string The path or URL of the source file. Can be null.
리턴 System

JavaScriptException() 공개 메소드

Creates a new JavaScriptException instance.
public JavaScriptException ( ScriptEngine engine, ErrorType type, string message, int lineNumber, string sourcePath, string functionName ) : System
engine ScriptEngine The current script environment.
type ErrorType The type of error, e.g. Error, RangeError, etc.
message string A description of the error.
lineNumber int The line number in the source file the error occurred on.
sourcePath string The path or URL of the source file. Can be null.
functionName string The name of the function. Can be null.
리턴 System

JavaScriptException() 공개 메소드

Creates a new JavaScriptException instance based on the given object.
public JavaScriptException ( object errorObject, int lineNumber, string sourcePath ) : System
errorObject object The javascript object that was thrown.
lineNumber int The line number in the source file the error occurred on.
sourcePath string The path or URL of the source file. Can be null.
리턴 System

JavaScriptException() 공개 메소드

Creates a new JavaScriptException instance based on the given object.
public JavaScriptException ( object errorObject, int lineNumber, string sourcePath, string functionName ) : System
errorObject object The javascript object that was thrown.
lineNumber int The line number in the source file the error occurred on.
sourcePath string The path or URL of the source file. Can be null.
functionName string The name of the function. Can be null.
리턴 System