Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators/KernelWrappers/MacroStabilityCommon/PlLinesToWaternetConverter.cs =================================================================== diff -u -r5020 -r5025 --- DamEngine/trunk/src/Deltares.DamEngine.Calculators/KernelWrappers/MacroStabilityCommon/PlLinesToWaternetConverter.cs (.../PlLinesToWaternetConverter.cs) (revision 5020) +++ DamEngine/trunk/src/Deltares.DamEngine.Calculators/KernelWrappers/MacroStabilityCommon/PlLinesToWaternetConverter.cs (.../PlLinesToWaternetConverter.cs) (revision 5025) @@ -76,7 +76,7 @@ if (soilProfile1D.BottomAquiferLayer == null) { - throw new Exception(string.Format(Resources.NoBottomAquiferLayer, soilProfile1D.Name)); + throw new NoNullAllowedException(string.Format(Resources.NoBottomAquiferLayer, soilProfile1D.Name)); } var waternet = new Waternet(); @@ -144,7 +144,7 @@ Point2D[] bottomAquiferCoordinates = DetermineLayerBoundaryPoints(LayerType.BottomAquifer, soilProfile).ToArray(); if (!bottomAquiferCoordinates.Any()) { - throw new Exception(string.Format(Resources.NoBottomAquiferLayer, soilProfile.Name)); + throw new NoNullAllowedException(string.Format(Resources.NoBottomAquiferLayer, soilProfile.Name)); } var waternet = new Waternet();