Index: Ringtoets/Piping/src/Ringtoets.Piping.Data/SoilProfile/PipingStochasticSoilModel.cs =================================================================== diff -u -rd8b351cf9e2e2b25c29ca3d2d426ca48f035fe98 -r4d2b702d8a5e4570ee53fa499f8f5fa196acdb98 --- Ringtoets/Piping/src/Ringtoets.Piping.Data/SoilProfile/PipingStochasticSoilModel.cs (.../PipingStochasticSoilModel.cs) (revision d8b351cf9e2e2b25c29ca3d2d426ca48f035fe98) +++ Ringtoets/Piping/src/Ringtoets.Piping.Data/SoilProfile/PipingStochasticSoilModel.cs (.../PipingStochasticSoilModel.cs) (revision 4d2b702d8a5e4570ee53fa499f8f5fa196acdb98) @@ -40,8 +40,15 @@ /// Creates a new instance of . /// /// Name of the segment soil model. + /// Thrown when is + /// null. public PipingStochasticSoilModel(string name) { + if (name == null) + { + throw new ArgumentNullException(nameof(name)); + } + Name = name; Geometry = new List(); StochasticSoilProfiles = new List(); @@ -70,7 +77,7 @@ /// The differences summed up in an instance of . /// Thrown when /// is null. - /// Thrown when + /// Thrown when /// contains multiple profiles with the same name, and also contains a /// profile with the same name. ///