Skip to main content

PersistenceException

Namespace: Meshmakers.Octo.Runtime.Contracts

Exception thrown when a persistence error occurs.

public class PersistenceException : Exception, ISerializable

Inheritance ObjectExceptionPersistenceException
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

Methods

CkIdAttributeNotSet(Type)

internal static Exception CkIdAttributeNotSet(Type type)

Parameters

type Type

Returns

Exception

CkTypeIdNotSet()

internal static Exception CkTypeIdNotSet()

Returns

Exception

CkTypeIdNotSet(Type)

internal static Exception CkTypeIdNotSet(Type type)

Parameters

type Type

Returns

Exception

AssociationRoleIdNotSet()

internal static Exception AssociationRoleIdNotSet()

Returns

Exception

RtIdNotSet()

internal static Exception RtIdNotSet()

Returns

Exception

AttributeNameNotFound(String, CkTypeWithAttributesGraph)

internal static Exception AttributeNameNotFound(string attributeName, CkTypeWithAttributesGraph ckTypeWithAttributesGraph)

Parameters

attributeName String

ckTypeWithAttributesGraph CkTypeWithAttributesGraph

Returns

Exception

CkEnumIdNotSet(String, CkTypeAttributeGraph)

internal static Exception CkEnumIdNotSet(string attributeName, CkTypeAttributeGraph ckTypeAttributeGraph)

Parameters

attributeName String

ckTypeAttributeGraph CkTypeAttributeGraph

Returns

Exception

CkEnumIdNotFound(String, CkTypeAttributeGraph)

internal static Exception CkEnumIdNotFound(string attributeName, CkTypeAttributeGraph ckTypeAttributeGraph)

Parameters

attributeName String

ckTypeAttributeGraph CkTypeAttributeGraph

Returns

Exception

EnumIdValueNotFound(CkId<CkEnumId>, Int32)

internal static Exception EnumIdValueNotFound(CkId<CkEnumId> ckEnumId, int value)

Parameters

ckEnumId CkId<CkEnumId>

value Int32

Returns

Exception