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