Skip to main content

RuntimeRepositoryException

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories

Throws when an error occurs in a runtime repository

public class RuntimeRepositoryException : PersistenceException, ISerializable

Inheritance ObjectExceptionPersistenceExceptionRuntimeRepositoryException
Implements ISerializable

Properties

OperationResult

The RuntimeRepositoryException.OperationResult that caused the exception

public OperationResult OperationResult { get; }

Property Value

OperationResult

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

CkTypeIdMissingForType(Type)

internal static Exception CkTypeIdMissingForType(Type type)

Parameters

type Type

Returns

Exception

CkTypeIdDoesNotExistInCache(CkId<CkTypeId>)

internal static Exception CkTypeIdDoesNotExistInCache(CkId<CkTypeId> ckTypeId)

Parameters

ckTypeId CkId<CkTypeId>

Returns

Exception

DocumentAlreadyAdded(String, Object)

internal static Exception DocumentAlreadyAdded(string tenantId, object key)

Parameters

tenantId String

key Object

Returns

Exception

CkTypeIdIsAbstract(String, CkId<CkTypeId>)

internal static Exception CkTypeIdIsAbstract(string tenantId, CkId<CkTypeId> ckTypeId)

Parameters

tenantId String

ckTypeId CkId<CkTypeId>

Returns

Exception

ThrowIfOperationResultError(OperationResult)

internal static void ThrowIfOperationResultError(OperationResult operationResult)

Parameters

operationResult OperationResult

DocumentDoesNotExist(String, Object, Type)

internal static Exception DocumentDoesNotExist(string tenantId, object key, Type documentType)

Parameters

tenantId String

key Object

documentType Type

Returns

Exception

FieldFilterDidNotReturnResult(Type, ICollection<FieldFilter>)

internal static Exception FieldFilterDidNotReturnResult(Type type, ICollection<FieldFilter> fieldFilters)

Parameters

type Type

fieldFilters ICollection<FieldFilter>

Returns

Exception

AttributeFilterNotSupportedByDataSource(Type)

internal static Exception AttributeFilterNotSupportedByDataSource(Type type)

Parameters

type Type

Returns

Exception

TextFilterNotSupportedByDataSource(Type)

internal static Exception TextFilterNotSupportedByDataSource(Type type)

Parameters

type Type

Returns

Exception

SortOrderNotSupportedByDataSource(Type)

internal static Exception SortOrderNotSupportedByDataSource(Type type)

Parameters

type Type

Returns

Exception

AttributeWithNameDoesNotExist(CkId<CkTypeId>, String)

internal static Exception AttributeWithNameDoesNotExist(CkId<CkTypeId> ckTypeId, string filterAttributeName)

Parameters

ckTypeId CkId<CkTypeId>

filterAttributeName String

Returns

Exception

NotComparable(Object)

internal static Exception NotComparable(object key)

Parameters

key Object

Returns

Exception