Skip to main content

InvalidPathException

Namespace: Meshmakers.Octo.Runtime.Contracts

Throws when an invalid attribute value is set.

public class InvalidPathException : PersistenceException, ISerializable

Inheritance Object → Exception → PersistenceException → InvalidPathException
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​

InvalidPathTerm(String)​

internal static Exception InvalidPathTerm(string path)

Parameters​

path String

Returns​

Exception

NoEmptyPaths()​

internal static Exception NoEmptyPaths()

Returns​

Exception

InvalidNavigationPropertyToken(RtTypeWithAttributes, PathTerm)​

internal static Exception InvalidNavigationPropertyToken(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

token PathTerm

Returns​

Exception

InvalidArrayIndexToken(RtTypeWithAttributes, PathTerm)​

internal static Exception InvalidArrayIndexToken(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

token PathTerm

Returns​

Exception

InvalidArrayIndex(RtTypeWithAttributes, PathTerm)​

internal static Exception InvalidArrayIndex(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

token PathTerm

Returns​

Exception

InvalidArrayIndexData(RtTypeWithAttributes, PathTerm)​

internal static Exception InvalidArrayIndexData(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

token PathTerm

Returns​

Exception

MultipleNavigationEndsUnsupported(RtTypeWithAttributes, PathTerm)​

internal static Exception MultipleNavigationEndsUnsupported(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

token PathTerm

Returns​

Exception

PathNotSettable(RtTypeWithAttributes, PathTerm)​

internal static Exception PathNotSettable(RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTupleTerm)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

pathTupleTerm PathTerm

Returns​

Exception

PathNotSettable(RtTypeWithAttributes, List<PathTerm>)​

internal static Exception PathNotSettable(RtTypeWithAttributes rtTypeWithAttributes, List<PathTerm> tokens)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

tokens List<PathTerm>

Returns​

Exception

CannotGetAttributeValue(RtTypeWithAttributes, PathTerm)​

internal static Exception CannotGetAttributeValue(RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTupleTerm)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

pathTupleTerm PathTerm

Returns​

Exception

CkTypeNotFoundForEntity(String, RtTypeWithAttributes, PathTerm)​

internal static Exception CkTypeNotFoundForEntity(string tenantId, RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTerm)

Parameters​

tenantId String

rtTypeWithAttributes RtTypeWithAttributes

pathTerm PathTerm

Returns​

Exception

AttributeNotFoundOnCkType(String, RtTypeWithAttributes, PathTerm)​

internal static Exception AttributeNotFoundOnCkType(string tenantId, RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTerm)

Parameters​

tenantId String

rtTypeWithAttributes RtTypeWithAttributes

pathTerm PathTerm

Returns​

Exception

CkRecordNotFoundForRecord(String, RtTypeWithAttributes, PathTerm)​

internal static Exception CkRecordNotFoundForRecord(string tenantId, RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTerm)

Parameters​

tenantId String

rtTypeWithAttributes RtTypeWithAttributes

pathTerm PathTerm

Returns​

Exception

AttributeNotFoundOnCkRecord(String, RtTypeWithAttributes, PathTerm)​

internal static Exception AttributeNotFoundOnCkRecord(string tenantId, RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTerm)

Parameters​

tenantId String

rtTypeWithAttributes RtTypeWithAttributes

pathTerm PathTerm

Returns​

Exception

AttributeValueIsNotArray(RtTypeWithAttributes, PathTerm)​

internal static Exception AttributeValueIsNotArray(RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTupleTerm)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

pathTupleTerm PathTerm

Returns​

Exception

InvalidTokenType(PathTerm)​

internal static Exception InvalidTokenType(PathTerm token)

Parameters​

token PathTerm

Returns​

Exception

InvalidPathTermTargetCkTypeIdMissing(IEnumerable<PathTerm>, PathTerm)​

internal static Exception InvalidPathTermTargetCkTypeIdMissing(IEnumerable<PathTerm> path, PathTerm currentToken)

Parameters​

path IEnumerable<PathTerm>

currentToken PathTerm

Returns​

Exception

CkTypeIdNotFound(String, CkId<CkTypeId>)​

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

Parameters​

tenantId String

ckTypeId CkId<CkTypeId>

Returns​

Exception

RtCkTypeIdNotFound(String, RtCkId<CkTypeId>)​

internal static Exception RtCkTypeIdNotFound(string tenantId, RtCkId<CkTypeId> rtCkTypeId)

Parameters​

tenantId String

rtCkTypeId RtCkId<CkTypeId>

Returns​

Exception

AssociationNotFound(IEnumerable<PathTerm>, PathTerm, PathTerm)​

internal static Exception AssociationNotFound(IEnumerable<PathTerm> path, PathTerm navigationProperty, PathTerm targetTypeProperty)

Parameters​

path IEnumerable<PathTerm>

navigationProperty PathTerm

targetTypeProperty PathTerm

Returns​

Exception

internal static Exception NavigationPropertyNotFound(List<PathTerm> tokens, PathTerm token)

Parameters​

tokens List<PathTerm>

token PathTerm

Returns​

Exception

TargetCkTypeIdNotFound(List<PathTerm>, PathTerm)​

internal static Exception TargetCkTypeIdNotFound(List<PathTerm> tokens, PathTerm token)

Parameters​

tokens List<PathTerm>

token PathTerm

Returns​

Exception

PathNotSettableBecauseNull(List<PathTerm>)​

internal static Exception PathNotSettableBecauseNull(List<PathTerm> tokens)

Parameters​

tokens List<PathTerm>

Returns​

Exception

PathNotSettable(PathTerm, List<PathTerm>)​

internal static Exception PathNotSettable(PathTerm pathTupleTerm, List<PathTerm> tokens)

Parameters​

pathTupleTerm PathTerm

tokens List<PathTerm>

Returns​

Exception

CannotMergeFieldFilterToNavigationPair(String, CkId<CkTypeId>, RtCkId<CkAssociationRoleId>, RtCkId<CkTypeId>)​

internal static Exception CannotMergeFieldFilterToNavigationPair(string fieldFilterAttributePath, CkId<CkTypeId> ckTypeId, RtCkId<CkAssociationRoleId> candidateCkRoleId, RtCkId<CkTypeId> candidateTargetCkTypeId)

Parameters​

fieldFilterAttributePath String

ckTypeId CkId<CkTypeId>

candidateCkRoleId RtCkId<CkAssociationRoleId>

candidateTargetCkTypeId RtCkId<CkTypeId>

Returns​

Exception

CannotMergeFieldFilterToNavigationPairInvalidPath(String, CkId<CkTypeId>)​

internal static Exception CannotMergeFieldFilterToNavigationPairInvalidPath(string fieldFilterAttributePath, CkId<CkTypeId> ckTypeId)

Parameters​

fieldFilterAttributePath String

ckTypeId CkId<CkTypeId>

Returns​

Exception

CkEnumIdNotSet(RtTypeWithAttributes, PathTerm)​

internal static Exception CkEnumIdNotSet(RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTupleTerm)

Parameters​

rtTypeWithAttributes RtTypeWithAttributes

pathTupleTerm PathTerm

Returns​

Exception

InvalidEnumValueType(CkId<CkEnumId>, String)​

internal static Exception InvalidEnumValueType(CkId<CkEnumId> valueCkEnumId, string name)

Parameters​

valueCkEnumId CkId<CkEnumId>

name String

Returns​

Exception