System.ExecutionEngineException Class

public sealed class ExecutionEngineException : SystemException

Base Types

Object
  Exception
    SystemException
      ExecutionEngineException

Assembly

mscorlib

Library

BCL

Summary

Represents an internal error in the execution engine.

Description

[Note: Execution engine errors are fatal errors that should never occur. Such errors occur mainly when the execution engine has been corrupted or data is missing.

The system can throw this exception at any time. When possible, the system throws an exception that provides more information than the ExecutionEngineException exception.

For information on conditions under which the CLI throws ExecutionEngineException exceptions, see Partition II of the CLI Specification.

Applications should not throw ExecutionEngineException.

]

See Also

System Namespace

Members

ExecutionEngineException Constructors

ExecutionEngineException() Constructor
ExecutionEngineException(System.String) Constructor
ExecutionEngineException(System.String, System.Exception) Constructor


ExecutionEngineException() Constructor

public ExecutionEngineException();

Summary

Constructs and initializes a new instance of the ExecutionEngineException class.

Description

This constructor initializes the System.ExecutionEngineException.Message property of the new instance to a system-supplied message that describes the error, such as "Internal error occurred." This message takes into account the current system culture.

The System.ExecutionEngineException.InnerException property is initialized to null .

See Also

System.ExecutionEngineException Class, System Namespace

ExecutionEngineException(System.String) Constructor

public ExecutionEngineException(string message);

Summary

Constructs and initializes a new instance of the ExecutionEngineException class.

Parameters

message
A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Description

This constructor initializes the System.ExecutionEngineException.Message property of the new instance using message. If message is null , the System.ExecutionEngineException.Message property is initialized to the system-supplied message provided by the constructor that takes no arguments. The System.ExecutionEngineException.InnerException property is initialized to null .

See Also

System.ExecutionEngineException Class, System Namespace

ExecutionEngineException(System.String, System.Exception) Constructor

public ExecutionEngineException(string message, Exception innerException);

Summary

Constructs and initializes a new instance of the ExecutionEngineException class.

Parameters

message
A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
innerException
An instance of Exception that is the cause of the current exception. If innerException is non-null, then the current exception was raised in a catch block handling innerException .

Description

This constructor initializes the System.ExecutionEngineException.Message property of the new instance using message, and the System.ExecutionEngineException.InnerException property using innerException. If message is null , the System.ExecutionEngineException.Message property is initialized to the system-supplied message provided by the constructor that takes no arguments.

[Note: For information on inner exceptions, see System.Exception.InnerException .]

See Also

System.ExecutionEngineException Class, System Namespace