Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/StochasticSoilModelReader.cs
===================================================================
diff -u -r712da6c28f4791abfecb52200bb9f397d400f081 -rda4a311b2ac60defe1a27a61c8d151f47268a941
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/StochasticSoilModelReader.cs (.../StochasticSoilModelReader.cs) (revision 712da6c28f4791abfecb52200bb9f397d400f081)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/StochasticSoilModelReader.cs (.../StochasticSoilModelReader.cs) (revision da4a311b2ac60defe1a27a61c8d151f47268a941)
@@ -236,14 +236,11 @@
/// Sets the geometry points of from the database.
///
/// The stochastic soil model of which the geometry to set.
- /// Thrown when the geometry could not be read.
private void SetGeometry(StochasticSoilModel stochasticSoilModel)
{
if (!segmentPointReader.HasNext || segmentPointReader.ReadStochasticSoilModelId() != currentStochasticSoilModelId)
{
- throw new StochasticSoilModelException(
- string.Format(Resources.SegmentPointReader_ReadSegmentPoint_StochasticSoilModel_0_must_contain_geometry,
- ReadStochasticSoilModelName()));
+ return;
}
stochasticSoilModel.Geometry.AddRange(segmentPointReader.ReadSegmentPoints());