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
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
Methods
InvalidPathTerm(String)
internal static Exception InvalidPathTerm(string path)
Parameters
path
String
Returns
NoEmptyPaths()
internal static Exception NoEmptyPaths()
Returns
InvalidNavigationPropertyToken(RtTypeWithAttributes, PathTerm)
internal static Exception InvalidNavigationPropertyToken(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
token
PathTerm
Returns
InvalidArrayIndexToken(RtTypeWithAttributes, PathTerm)
internal static Exception InvalidArrayIndexToken(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
token
PathTerm
Returns
InvalidArrayIndex(RtTypeWithAttributes, PathTerm)
internal static Exception InvalidArrayIndex(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
token
PathTerm
Returns
InvalidArrayIndexData(RtTypeWithAttributes, PathTerm)
internal static Exception InvalidArrayIndexData(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
token
PathTerm
Returns
MultipleNavigationEndsUnsupported(RtTypeWithAttributes, PathTerm)
internal static Exception MultipleNavigationEndsUnsupported(RtTypeWithAttributes rtTypeWithAttributes, PathTerm token)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
token
PathTerm
Returns
PathNotSettable(RtTypeWithAttributes, PathTerm)
internal static Exception PathNotSettable(RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTupleTerm)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
pathTupleTerm
PathTerm
Returns
PathNotSettable(RtTypeWithAttributes, List<PathTerm>)
internal static Exception PathNotSettable(RtTypeWithAttributes rtTypeWithAttributes, List<PathTerm> tokens)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
tokens
List<PathTerm>
Returns
CannotGetAttributeValue(RtTypeWithAttributes, PathTerm)
internal static Exception CannotGetAttributeValue(RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTupleTerm)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
pathTupleTerm
PathTerm
Returns
AttributeValueIsNotArray(RtTypeWithAttributes, PathTerm)
internal static Exception AttributeValueIsNotArray(RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTupleTerm)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
pathTupleTerm
PathTerm
Returns
InvalidTokenType(PathTerm)
internal static Exception InvalidTokenType(PathTerm token)
Parameters
token
PathTerm
Returns
InvalidRuntimeType(RtTypeWithAttributes, PathTerm)
internal static Exception InvalidRuntimeType(RtTypeWithAttributes valueRtTypeWithAttribute, PathTerm token)
Parameters
valueRtTypeWithAttribute
RtTypeWithAttributes
token
PathTerm
Returns
InvalidPathTermTargetCkTypeIdMissing(IEnumerable<PathTerm>, PathTerm)
internal static Exception InvalidPathTermTargetCkTypeIdMissing(IEnumerable<PathTerm> path, PathTerm currentToken)
Parameters
currentToken
PathTerm
Returns
CkTypeIdNotFound(String, CkId<CkTypeId>)
internal static Exception CkTypeIdNotFound(string tenantId, CkId<CkTypeId> ckTypeId)
Parameters
tenantId
String
ckTypeId
CkId<CkTypeId>
Returns
AssociationNotFound(IEnumerable<PathTerm>, PathTerm, PathTerm)
internal static Exception AssociationNotFound(IEnumerable<PathTerm> path, PathTerm navigationProperty, PathTerm targetTypeProperty)
Parameters
navigationProperty
PathTerm
targetTypeProperty
PathTerm
Returns
NavigationPropertyNotFound(List<PathTerm>, PathTerm)
internal static Exception NavigationPropertyNotFound(List<PathTerm> tokens, PathTerm token)
Parameters
tokens
List<PathTerm>
token
PathTerm
Returns
TargetCkTypeIdNotFound(List<PathTerm>, PathTerm)
internal static Exception TargetCkTypeIdNotFound(List<PathTerm> tokens, PathTerm token)
Parameters
tokens
List<PathTerm>
token
PathTerm
Returns
PathNotSettableBecauseNull(List<PathTerm>)
internal static Exception PathNotSettableBecauseNull(List<PathTerm> tokens)
Parameters
tokens
List<PathTerm>
Returns
PathNotSettable(PathTerm, List<PathTerm>)
internal static Exception PathNotSettable(PathTerm pathTupleTerm, List<PathTerm> tokens)
Parameters
pathTupleTerm
PathTerm
tokens
List<PathTerm>
Returns
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
CannotMergeFieldFilterToNavigationPairInvalidPath(String, CkId<CkTypeId>)
internal static Exception CannotMergeFieldFilterToNavigationPairInvalidPath(string fieldFilterAttributePath, CkId<CkTypeId> ckTypeId)
Parameters
fieldFilterAttributePath
String
ckTypeId
CkId<CkTypeId>
Returns
CkEnumIdNotSet(RtTypeWithAttributes, PathTerm)
internal static Exception CkEnumIdNotSet(RtTypeWithAttributes rtTypeWithAttributes, PathTerm pathTupleTerm)
Parameters
rtTypeWithAttributes
RtTypeWithAttributes
pathTupleTerm
PathTerm
Returns
EnumValueNotFound(CkId<CkEnumId>, String)
internal static Exception EnumValueNotFound(CkId<CkEnumId> valueCkEnumId, string strValue)
Parameters
valueCkEnumId
CkId<CkEnumId>
strValue
String
Returns
InvalidEnumValueType(CkId<CkEnumId>, String)
internal static Exception InvalidEnumValueType(CkId<CkEnumId> valueCkEnumId, string name)
Parameters
valueCkEnumId
CkId<CkEnumId>
name
String