Table of Contents

Class DescriptionException

Namespace
HP.LFT.SDK
Assembly
HP.LFT.SDK.dll

Exceptions raised when errors are encountered in the description of a test object.

public class DescriptionException : Exception, ISerializable, _Exception
Inheritance
DescriptionException
Implements
Derived
Inherited Members

Constructors

DescriptionException(Description)

Initializes a new instance of the DescriptionException class with the test object description.

public DescriptionException(Description testObjectDescription)

Parameters

testObjectDescription Description

The Description containing the error.

DescriptionException(Description, string)

Initializes a new instance of the DescriptionException class with the test object description and an error message string.

public DescriptionException(Description testObjectDescription, string message)

Parameters

testObjectDescription Description

The Description containing the error.

message string

The error message that explains the exception.

DescriptionException(Description, string, Exception)

Initializes a new instance of the DescriptionException class with the test object description, an error message string, and the actual exception.

public DescriptionException(Description testObjectDescription, string message, Exception exception)

Parameters

testObjectDescription Description

The Description containing the error.

message string

The error message that explains the exception.

exception Exception

The exception that is the cause of the current exception.

DescriptionException(SerializationInfo, StreamingContext)

Initializes a new instance of the DescriptionException class with serialized data.

protected DescriptionException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Fields

TestObjectDescription

The test object description in the exception.

public readonly Description TestObjectDescription

Field Value

Description

Methods

GetObjectData(SerializationInfo, StreamingContext)

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext