Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/HeightStructuresInput.cs =================================================================== diff -u -re1fb308ee037ad868246b1a38601f098f151a123 -r13e66da0fff74d0062fe1c0872691a6634a4853b --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/HeightStructuresInput.cs (.../HeightStructuresInput.cs) (revision e1fb308ee037ad868246b1a38601f098f151a123) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/HeightStructuresInput.cs (.../HeightStructuresInput.cs) (revision 13e66da0fff74d0062fe1c0872691a6634a4853b) @@ -206,7 +206,7 @@ RoundedDouble newOrientationValue = value.ToPrecision(orientationOfTheNormalOfTheStructure.NumberOfDecimalPlaces); if (newOrientationValue < 0 || newOrientationValue > 360) { - throw new ArgumentOutOfRangeException(null, RingtoetsCommonDataResources.Orientation_Value_needs_to_be_between_0_and_360); + throw new ArgumentOutOfRangeException("value", RingtoetsCommonDataResources.Orientation_Value_needs_to_be_between_0_and_360); } orientationOfTheNormalOfTheStructure = newOrientationValue; @@ -296,7 +296,7 @@ { if (!ValidProbabilityValue(value)) { - throw new ArgumentOutOfRangeException(null, RingtoetsCommonDataResources.FailureProbability_Value_needs_to_be_between_0_and_1); + throw new ArgumentOutOfRangeException("value", RingtoetsCommonDataResources.FailureProbability_Value_needs_to_be_between_0_and_1); } failureProbabilityOfStructureGivenErosion = value; }