Show / Hide Table of Contents

Class FailureDetails

Details of a failure.

Inheritance
System.Object
FailureDetails
Implements
IFailureDetails
Namespace: OpenText.Fusion.AdapterSdk.Api
Assembly: OpenText.Fusion.AdapterSdk.Api.dll
Syntax
public class FailureDetails : object, IFailureDetails
Remarks

Class used to record errors during processing of a repository command. Allows to capture a message and multiple exceptions for reporting in Fusion.

Constructors

FailureDetails(String, Exception[])

Initializes a new instance of the FailureDetails class.

Declaration
public FailureDetails(string message, params Exception[] exceptions)
Parameters
Type Name Description
System.String message

The failure message.

Exception[] exceptions

Optionally, the exceptions encountered.

Properties

Exceptions

Gets the recorded Exceptions.

Declaration
public IEnumerable<Exception> Exceptions { get; }
Property Value
Type Description
IEnumerable<Exception>

The exceptions.

Message

Gets the failure message.

Declaration
public string Message { get; }
Property Value
Type Description
System.String

The message.

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Implements

IFailureDetails
In This Article
Back to top Generated by DocFX