C# Class JavaScriptEngineSwitcher.Core.JsException

Inheritance: System.Exception
显示文件 Open project: Taritsyn/JavaScriptEngineSwitcher Class Usage Examples

Public Methods

Method Description
JsException ( string message ) : System

Initializes a new instance of the JsException class with a specified error message

JsException ( string message, Exception innerException ) : System

Initializes a new instance of the JsException class with a specified error message and a reference to the inner exception that is the cause of this exception

JsException ( string message, string engineName, string engineVersion ) : System

Initializes a new instance of the JsException class

JsException ( string message, string engineName, string engineVersion, Exception innerException ) : System

Initializes a new instance of the JsException class

Protected Methods

Method Description
JsException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the JsException class with serialized data

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

JsException() protected method

Initializes a new instance of the JsException class with serialized data
protected JsException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The object that holds the serialized data
context System.Runtime.Serialization.StreamingContext The contextual information about the source or destination
return System

JsException() public method

Initializes a new instance of the JsException class with a specified error message
public JsException ( string message ) : System
message string The message that describes the error
return System

JsException() public method

Initializes a new instance of the JsException class with a specified error message and a reference to the inner exception that is the cause of this exception
public JsException ( string message, Exception innerException ) : System
message string The error message that explains the reason for the exception
innerException System.Exception The exception that is the cause of the current exception
return System

JsException() public method

Initializes a new instance of the JsException class
public JsException ( string message, string engineName, string engineVersion ) : System
message string The error message that explains the reason for the exception
engineName string Name of JS engine
engineVersion string Version of original JS engine
return System

JsException() public method

Initializes a new instance of the JsException class
public JsException ( string message, string engineName, string engineVersion, Exception innerException ) : System
message string The error message that explains the reason for the exception
engineName string Name of JS engine
engineVersion string Version of original JS engine
innerException System.Exception The exception that is the cause of the current exception
return System