Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Quantum.QuantumConsistencyException Class Reference

An exception that occurs during consistency checks of Quantum objects, indicating that a IModelNode is un an unexpected state. More...

Inheritance diagram for SiliconStudio.Quantum.QuantumConsistencyException:
Exception

Public Member Functions

 QuantumConsistencyException (string expected, string observed, IModelNode node)
 Initializes a new instance of the QuantumConsistencyException class. More...
 
 QuantumConsistencyException (string expected, string expectedArg, string observed, string observedArg, IModelNode node)
 Initializes a new instance of the QuantumConsistencyException class, with advanced string formatting. More...
 

Properties

string Expected [get, set]
 Gets a string representing the expected result. More...
 
string Observed [get, set]
 Gets a string representing the observed result. More...
 
IModelNode Node [get, set]
 Gets the IModelNode that triggered this exception. More...
 

Detailed Description

An exception that occurs during consistency checks of Quantum objects, indicating that a IModelNode is un an unexpected state.

Definition at line 10 of file QuantumConsistencyException.cs.

Constructor & Destructor Documentation

SiliconStudio.Quantum.QuantumConsistencyException.QuantumConsistencyException ( string  expected,
string  observed,
IModelNode  node 
)

Initializes a new instance of the QuantumConsistencyException class.

Parameters
expectedA string representing the expected result.
observedA string representing the observed result.
nodeThe node that is related to this error.

Definition at line 18 of file QuantumConsistencyException.cs.

SiliconStudio.Quantum.QuantumConsistencyException.QuantumConsistencyException ( string  expected,
string  expectedArg,
string  observed,
string  observedArg,
IModelNode  node 
)

Initializes a new instance of the QuantumConsistencyException class, with advanced string formatting.

Parameters
expectedA string representing the expected result. This string must contains a
expectedArg
observedA string representing the observed result.
observedArg
nodeThe node that is related to this error.

Definition at line 34 of file QuantumConsistencyException.cs.

Property Documentation

string SiliconStudio.Quantum.QuantumConsistencyException.Expected
getset

Gets a string representing the expected result.

Definition at line 60 of file QuantumConsistencyException.cs.

IModelNode SiliconStudio.Quantum.QuantumConsistencyException.Node
getset

Gets the IModelNode that triggered this exception.

Definition at line 70 of file QuantumConsistencyException.cs.

string SiliconStudio.Quantum.QuantumConsistencyException.Observed
getset

Gets a string representing the observed result.

Definition at line 65 of file QuantumConsistencyException.cs.


The documentation for this class was generated from the following file: