ClassExecutionException
Base exception for all execution exceptions of recorded tests
Definition
Namespace:ArtOfTest.Common.Design.Exceptions
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public class ExecutionException : ExecutionExceptionBase, ISerializable, _Exception
Inheritance: objectExceptionExecutionExceptionBaseExecutionException
Derived Classes:
Implements:
Inherited Members
Constructors
ExecutionException()
Empty constructor needed for serialization.
Declaration
public ExecutionException()
ExecutionException(IAutomationHostState, string)
Create a new Execution Exception.
Declaration
public ExecutionException(IAutomationHostState host, string message)
Parameters
host
message
The exception message.
ExecutionException(IAutomationHostState, string, Exception)
Create a new Execution Exception.
Declaration
public ExecutionException(IAutomationHostState hostState, string message, Exception innerException)
Parameters
hostState
message
The exception message.
innerException
The inner exception.
ExecutionException(SerializationInfo, StreamingContext)
Serialization Constructor
Declaration
public ExecutionException(SerializationInfo info, StreamingContext context)
Parameters
info
Serialization Info.
context
Serialization context.
Properties
HostState
Gets or sets the current host state.
Declaration
public IAutomationHostState HostState { get; set; }
Property Value
Kind
Get the Kind of exception this is.
Methods
FriendlyMessage()
Get a friendly formatted error message for this exception.
GetObjectData(SerializationInfo, StreamingContext)
Get serialization info
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
context
Overrides