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
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
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>(CkId<CkAttributeId>, String, CkId<TKey>)
internal static Exception AttributeNotFound<TKey>(CkId<CkAttributeId> modelAttributeId, string elementType, CkId<TKey> ckId)
Type Parameters
TKey
Parameters
modelAttributeId
CkId<CkAttributeId>
elementType
String
ckId
CkId<TKey>
Returns
RecordNotFound<TKey>(CkId<CkRecordId>, String, CkId<TKey>)
internal static Exception RecordNotFound<TKey>(CkId<CkRecordId> ckRecordId, string elementType, CkId<TKey> ckId)
Type Parameters
TKey
Parameters
ckRecordId
CkId<CkRecordId>
elementType
String
ckId
CkId<TKey>
Returns
CkEnumIdNotDefined(CkTypeAttributeGraph)
internal static Exception CkEnumIdNotDefined(CkTypeAttributeGraph ckTypeAttributeGraph)
Parameters
ckTypeAttributeGraph
CkTypeAttributeGraph
Returns
CkEnumIdNotFound(CkTypeAttributeGraph)
internal static Exception CkEnumIdNotFound(CkTypeAttributeGraph typeAttributeGraph)
Parameters
typeAttributeGraph
CkTypeAttributeGraph
Returns
CkEnumWithOutOfRange(CkTypeAttributeGraph, Object)
internal static Exception CkEnumWithOutOfRange(CkTypeAttributeGraph typeAttributeGraph, object value)
Parameters
typeAttributeGraph
CkTypeAttributeGraph
value
Object
Returns
BulkImportError(Exception)
internal static Exception BulkImportError(Exception innerException)
Parameters
innerException
Exception
Returns
CkModelsMissing(String, ICollection<CkModelId>)
internal static Exception CkModelsMissing(string tenantId, ICollection<CkModelId> ckModelIds)
Parameters
tenantId
String
ckModelIds
ICollection<CkModelId>