Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsStochasticSoilProfileProperties.cs =================================================================== diff -u -rade9597f8f050ca97431db031d9dc7dc87f715ba -r3e5d6f7c7f61eb17c81d1f80d2e55fda103f766d --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsStochasticSoilProfileProperties.cs (.../MacroStabilityInwardsStochasticSoilProfileProperties.cs) (revision ade9597f8f050ca97431db031d9dc7dc87f715ba) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsStochasticSoilProfileProperties.cs (.../MacroStabilityInwardsStochasticSoilProfileProperties.cs) (revision 3e5d6f7c7f61eb17c81d1f80d2e55fda103f766d) @@ -144,7 +144,6 @@ return RingtoetsCommonFormsResources.StochasticSoilProfile_Type_2D; } - // If type is not supported, throw exception (currently not possible, safeguard for future) string exceptionMessage = $"{data.SoilProfile.GetType()} is not supported." + $" Supported types: {nameof(MacroStabilityInwardsSoilProfile1D)} and {nameof(MacroStabilityInwardsSoilProfile2D)}."; throw new NotSupportedException(exceptionMessage);