Exemplo n.º 1
0
 private void ValidateNode(object id, Type fieldType)
 {
     if (id == null)
     {
         throw new MissingRelationshipDataException(fieldType, RelationshipDataString() + " is missing " + fieldType + " field");
     }
 }
Exemplo n.º 2
0
 public MissingRelationshipDataException(Type missedField, string message) : base(message)
 {
     this._fieldType = missedField;
 }