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
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
CannotDeserializeModel(OperationResult)
internal static Exception CannotDeserializeModel(OperationResult operationResult)
Parameters
operationResult
OperationResult
Returns
SchemaValidationFailed(String, OperationResult)
internal static Exception SchemaValidationFailed(string locationReference, OperationResult operationResult)
Parameters
locationReference
String
operationResult
OperationResult
Returns
InvalidStructure()
internal static Exception InvalidStructure()
Returns
CannotDeserializeEntity(Int32)
internal static Exception CannotDeserializeEntity(int readerLineNumber)
Parameters
readerLineNumber
Int32
Returns
InvalidPosition()
internal static Exception InvalidPosition()
Returns
DuplicateEntity(OctoObjectId)
internal static Exception DuplicateEntity(OctoObjectId rtId)
Parameters
rtId
OctoObjectId
Returns
NotImplemented()
internal static Exception NotImplemented()
Returns
KeyExpectedDuringDeserialization(String)
internal static Exception KeyExpectedDuringDeserialization(string name)
Parameters
name
String
Returns
UnexpectedToken(String, JsonTokenType, String)
internal static Exception UnexpectedToken(string positionName, JsonTokenType readerTokenType, string numberName)
Parameters
positionName
String
readerTokenType
JsonTokenType
numberName
String
Returns
UnexpectedEndOfStream(String)
internal static Exception UnexpectedEndOfStream(string positionName)
Parameters
positionName
String
Returns
UnexpectedFormat(String, Exception)
internal static Exception UnexpectedFormat(string typeName, Exception e)
Parameters
typeName
String
Returns
UnexpectedFormat(String)
internal static Exception UnexpectedFormat(string propertyName)
Parameters
propertyName
String
Returns
InvalidType(Type, Object)
internal static Exception InvalidType(Type expectedType, object value)
Parameters
expectedType
Type
value
Object
Returns
InvalidType(String)
internal static Exception InvalidType(string type)
Parameters
type
String
Returns
MissingProperty(String, String)
internal static Exception MissingProperty(string objectTypeName, string propertyName)
Parameters
objectTypeName
String
propertyName
String
Returns
InvalidEnumValue<T>(String)
internal static Exception InvalidEnumValue<T>(string valueScalarValue)
Type Parameters
T
Parameters
valueScalarValue
String
Returns
InvalidExpectedEnumValue<T>(T, T)
internal static Exception InvalidExpectedEnumValue<T>(T result, T expectedValue)
Type Parameters
T
Parameters
result
T
expectedValue
T