Table of Contents

Class TypeNotRegisteredException

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

The exception thrown when a test object type is not registered.

public class TypeNotRegisteredException : Exception, ISerializable, _Exception
Inheritance
TypeNotRegisteredException
Implements
Inherited Members

Remarks

This exception is used when HP.LFT.SDK.ITypeRegistry.GetTestObjectMetaData(System.String,System.String) is called.

Constructors

TypeNotRegisteredException()

Initializes a new instance of the TypeNotRegisteredException class.

public TypeNotRegisteredException()

TypeNotRegisteredException(SerializationInfo, StreamingContext)

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

protected TypeNotRegisteredException(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.

TypeNotRegisteredException(string)

Initializes a new instance of the TypeNotRegisteredException class with a specified error message.

public TypeNotRegisteredException(string message)

Parameters

message string

The error message that explains the reason for the exception.

TypeNotRegisteredException(string, Exception)

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

public TypeNotRegisteredException(string message, Exception exception)

Parameters

message string

The error message that explains the reason for the exception.

exception Exception

The exception that is the cause of the current exception.