Table of Contents

Class TypeNotRegisteredException

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

Inheritance
TypeNotRegisteredException
Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public class TypeNotRegisteredException : Exception, ISerializable, _Exception
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.

Declaration
public TypeNotRegisteredException()

TypeNotRegisteredException(SerializationInfo, StreamingContext)

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

Declaration
protected TypeNotRegisteredException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

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

StreamingContext context

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.

Declaration
public TypeNotRegisteredException(string message)
Parameters
Type Name Description
string message

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.

Declaration
public TypeNotRegisteredException(string message, Exception exception)
Parameters
Type Name Description
string message

The error message that explains the reason for the exception.

Exception exception

The exception that is the cause of the current exception.

Implements

ISerializable
_Exception