Table of Contents

Class GeneralLeanFtException

Represents general errors that occur when working with OpenText Functional Testing for Developers.

Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public class GeneralLeanFtException : Exception, ISerializable, _Exception

Constructors

GeneralLeanFtException()

Initializes a new instance of the HP.LFT.SDK.GeneralLeanFTException class.

Declaration
public GeneralLeanFtException()

GeneralLeanFtException(SerializationInfo, StreamingContext)

Initializes a new instance of the HP.LFT.SDK.GeneralLeanFTException class with serialized data.

Declaration
protected GeneralLeanFtException(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.

GeneralLeanFtException(string)

Initializes a new instance of the HP.LFT.SDK.GeneralLeanFTException class with a specified error message.

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

The error message that explains the reason for the exception.

GeneralLeanFtException(string, Exception)

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

Declaration
public GeneralLeanFtException(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.

Properties

ErrorCode

The error code associated with this exception, if applicable.

Declaration
public int ErrorCode { get; }
Property Value
Type Description
int

Implements

ISerializable
_Exception