Zum Hauptinhalt springen

RuntimeModelParseException

Namespace: Meshmakers.Octo.Runtime.Contracts

Represents an error that occurs during runtime model parsing.

public class RuntimeModelParseException : PersistenceException, ISerializable

Inheritance Object → Exception → PersistenceException → RuntimeModelParseException
Implements ISerializable

Properties​

OperationResult​

The RuntimeModelParseException.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​

CannotDeserializeModel(OperationResult)​

internal static Exception CannotDeserializeModel(OperationResult operationResult)

Parameters​

operationResult OperationResult

Returns​

Exception

SchemaValidationFailed(String, OperationResult)​

internal static Exception SchemaValidationFailed(string locationReference, OperationResult operationResult)

Parameters​

locationReference String

operationResult OperationResult

Returns​

Exception

InvalidStructure()​

internal static Exception InvalidStructure()

Returns​

Exception

CannotDeserializeEntity(Int32)​

internal static Exception CannotDeserializeEntity(int readerLineNumber)

Parameters​

readerLineNumber Int32

Returns​

Exception

InvalidPosition()​

internal static Exception InvalidPosition()

Returns​

Exception

DuplicateEntity(OctoObjectId)​

internal static Exception DuplicateEntity(OctoObjectId rtId)

Parameters​

rtId OctoObjectId

Returns​

Exception

NotImplemented()​

internal static Exception NotImplemented()

Returns​

Exception

KeyExpectedDuringDeserialization(String)​

internal static Exception KeyExpectedDuringDeserialization(string name)

Parameters​

name String

Returns​

Exception

UnexpectedToken(String, JsonTokenType, String)​

internal static Exception UnexpectedToken(string positionName, JsonTokenType readerTokenType, string numberName)

Parameters​

positionName String

readerTokenType JsonTokenType

numberName String

Returns​

Exception

UnexpectedEndOfStream(String)​

internal static Exception UnexpectedEndOfStream(string positionName)

Parameters​

positionName String

Returns​

Exception

UnexpectedFormat(String, Exception)​

internal static Exception UnexpectedFormat(string typeName, Exception e)

Parameters​

typeName String

e Exception

Returns​

Exception

UnexpectedFormat(String)​

internal static Exception UnexpectedFormat(string propertyName)

Parameters​

propertyName String

Returns​

Exception

InvalidType(Type, Object)​

internal static Exception InvalidType(Type expectedType, object value)

Parameters​

expectedType Type

value Object

Returns​

Exception

InvalidType(String)​

internal static Exception InvalidType(string type)

Parameters​

type String

Returns​

Exception

MissingProperty(String, String)​

internal static Exception MissingProperty(string objectTypeName, string propertyName)

Parameters​

objectTypeName String

propertyName String

Returns​

Exception

InvalidEnumValue<T>(String)​

internal static Exception InvalidEnumValue<T>(string valueScalarValue)

Type Parameters​

T

Parameters​

valueScalarValue String

Returns​

Exception

InvalidExpectedEnumValue<T>(T, T)​

internal static Exception InvalidExpectedEnumValue<T>(T result, T expectedValue)

Type Parameters​

T

Parameters​

result T

expectedValue T

Returns​

Exception