Skip to main content

InvalidPathException

Namespace: Meshmakers.Octo.Runtime.Contracts

Throws when an invalid attribute value is set.

public class InvalidPathException : PersistenceException, ISerializable

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

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

InvalidRuntimeType(RtTypeWithAttributes, PathTerm)

internal static Exception InvalidRuntimeType(RtTypeWithAttributes valueRtTypeWithAttribute, PathTerm token)

Parameters

valueRtTypeWithAttribute RtTypeWithAttributes

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

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>, CkId<CkAssociationRoleId>, CkId<CkTypeId>)

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

Parameters

fieldFilterAttributePath String

ckTypeId CkId<CkTypeId>

candidateCkRoleId CkId<CkAssociationRoleId>

candidateTargetCkTypeId CkId<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

EnumValueNotFound(CkId<CkEnumId>, String)

internal static Exception EnumValueNotFound(CkId<CkEnumId> valueCkEnumId, string strValue)

Parameters

valueCkEnumId CkId<CkEnumId>

strValue String

Returns

Exception

InvalidEnumValueType(CkId<CkEnumId>, String)

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

Parameters

valueCkEnumId CkId<CkEnumId>

name String

Returns

Exception