Method | Description | |
---|---|---|
JavaScriptException ( ScriptEngine engine, ErrorType type, string message ) : System |
Creates a new JavaScriptException instance.
|
|
JavaScriptException ( ScriptEngine engine, ErrorType type, string message, |
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.
|
Method | Description | |
---|---|---|
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.
|
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. |
return | System |
public JavaScriptException ( ScriptEngine engine, ErrorType type, string message, |
||
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 | The exception that is the cause of the current exception,
/// or |
|
return | System |
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 |
return | System |
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 |
functionName | string | The name of the function. Can be |
return | System |
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 |
return | System |
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 |
functionName | string | The name of the function. Can be |
return | System |