Index: Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs =================================================================== diff -u -r320fc1268c48766797d895a8f4ace546f35bf64c -r5b07686bb3f89f1fa1017c4bf2cf8964ae9bd95c --- Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs (.../StructuresInputBase.cs) (revision 320fc1268c48766797d895a8f4ace546f35bf64c) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs (.../StructuresInputBase.cs) (revision 5b07686bb3f89f1fa1017c4bf2cf8964ae9bd95c) @@ -212,7 +212,7 @@ RoundedDouble newStructureNormalOrientation = value.ToPrecision(structureNormalOrientation.NumberOfDecimalPlaces); if (!double.IsNaN(newStructureNormalOrientation) && !structureNormalOrientationValidityRange.InRange(newStructureNormalOrientation)) { - throw new ArgumentOutOfRangeException(nameof(value), string.Format(Resources.Orientation_Value_needs_to_be_in_Range_0_, + throw new ArgumentOutOfRangeException(null, string.Format(Resources.Orientation_Value_needs_to_be_in_Range_0_, structureNormalOrientationValidityRange)); } structureNormalOrientation = newStructureNormalOrientation; @@ -301,7 +301,7 @@ } set { - ProbabilityHelper.ValidateProbability(value, nameof(value), Resources.FailureProbability_Value_needs_to_be_in_Range_0_); + ProbabilityHelper.ValidateProbability(value, null, Resources.FailureProbability_Value_needs_to_be_in_Range_0_); failureProbabilityStructureWithErosion = value; } }