public void land(Plane plane) { if (_weather.IsStormy()) { throw new InvalidOperationException("Weather is bad, can not land."); //return "is stormy"; } else { hanger.Add(plane); } }