Class TypeNotRegisteredException
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
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe 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
messagestringThe 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)