Class FailureDetails
Details of a failure.
Implements
Inherited Members
Namespace: OpenText.Fusion.AdapterSdk.Api
Assembly: OpenText.Fusion.AdapterSdk.Api.dll
Syntax
public class FailureDetails : 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, params Exception[])
Initializes a new instance of the FailureDetails class.
Declaration
public FailureDetails(string message, params Exception[] exceptions)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |
|---|---|
| string | The message. |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |