Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer1D.cs
===================================================================
diff -u -rcb6877f670bacc7a6a896ab132d592eeef1107b5 -r6e00eba7f45883916d98df04a84f6d0dca2f61fc
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer1D.cs (.../SoilLayer1D.cs) (revision cb6877f670bacc7a6a896ab132d592eeef1107b5)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer1D.cs (.../SoilLayer1D.cs) (revision 6e00eba7f45883916d98df04a84f6d0dca2f61fc)
@@ -51,9 +51,11 @@
/// Constructs a (1D) based on the properties set for the .
///
/// The with properties corresponding to those set on the .
+ /// Thrown when any of the distributions of the
+ /// stochastic parameters is not defined as lognormal.
internal PipingSoilLayer AsPipingSoilLayer()
{
- ValidateFieldsForPiping();
+ ValidateStochasticParametersForPiping();
var pipingSoilLayer = new PipingSoilLayer(Top)
{
@@ -62,7 +64,7 @@
Color = SoilLayerColorConversionHelper.ColorFromNullableDouble(Color)
};
- SetOptionalFields(pipingSoilLayer);
+ SetOptionalStochasticParameters(pipingSoilLayer);
return pipingSoilLayer;
}