Skip to main content

ExchangeException

Namespace: Meshmakers.Octo.Runtime.Contracts.Exchange

Represents an exception that occurs during exchange operations.

public class ExchangeException : PersistenceException, ISerializable

Inheritance Object → Exception → PersistenceException → ExchangeException
Implements ISerializable

Properties​

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

ExchangeException()​

Initializes a new instance of the ExchangeException class with a default message.

public ExchangeException()

ExchangeException(String)​

Initializes a new instance of the ExchangeException class with a specified error message.

public ExchangeException(string message)

Parameters​

message String
Message that describes the error.

ExchangeException(String, Exception)​

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

public ExchangeException(string message, Exception inner)

Parameters​

message String
Message that describes the error.

inner Exception
Inner exception that is the cause of this exception.

Methods​

AttributeNotFound<TKey>(RtCkId<CkAttributeId>, String, CkId<TKey>)​

internal static Exception AttributeNotFound<TKey>(RtCkId<CkAttributeId> modelAttributeId, string elementType, CkId<TKey> ckId)

Type Parameters​

TKey

Parameters​

modelAttributeId RtCkId<CkAttributeId>

elementType String

ckId CkId<TKey>

Returns​

Exception

MandatoryAttributesMissing(Int32, String)​

internal static Exception MandatoryAttributesMissing(int entityCount, string violationSummary)

Parameters​

entityCount Int32

violationSummary String

Returns​

Exception

CkEnumIdNotDefined(CkTypeAttributeGraph)​

internal static Exception CkEnumIdNotDefined(CkTypeAttributeGraph ckTypeAttributeGraph)

Parameters​

ckTypeAttributeGraph CkTypeAttributeGraph

Returns​

Exception

CkEnumIdNotFound(CkTypeAttributeGraph)​

internal static Exception CkEnumIdNotFound(CkTypeAttributeGraph typeAttributeGraph)

Parameters​

typeAttributeGraph CkTypeAttributeGraph

Returns​

Exception

CkEnumWithOutOfRange(CkTypeAttributeGraph, Object)​

internal static Exception CkEnumWithOutOfRange(CkTypeAttributeGraph typeAttributeGraph, object value)

Parameters​

typeAttributeGraph CkTypeAttributeGraph

value Object

Returns​

Exception

BulkImportError(Exception)​

internal static Exception BulkImportError(Exception innerException)

Parameters​

innerException Exception

Returns​

Exception

CkModelsMissing(String, ICollection<CkModelId>)​

internal static Exception CkModelsMissing(string tenantId, ICollection<CkModelId> ckModelIds)

Parameters​

tenantId String

ckModelIds ICollection<CkModelId>

Returns​

Exception

CkModelsMissing(String, ICollection<CkModelIdVersionRange>)​

internal static Exception CkModelsMissing(string tenantId, ICollection<CkModelIdVersionRange> ckModelIdRanges)

Parameters​

tenantId String

ckModelIdRanges ICollection<CkModelIdVersionRange>

Returns​

Exception