Index: Ringtoets/Common/src/Ringtoets.Common.Util/FailureMechanismNormHelper.cs =================================================================== diff -u -r18fa622cceab5b9575dbf4b6bffd0825100d7416 -r3716307f520488309250ca011e43fe660ecc0e6a --- Ringtoets/Common/src/Ringtoets.Common.Util/FailureMechanismNormHelper.cs (.../FailureMechanismNormHelper.cs) (revision 18fa622cceab5b9575dbf4b6bffd0825100d7416) +++ Ringtoets/Common/src/Ringtoets.Common.Util/FailureMechanismNormHelper.cs (.../FailureMechanismNormHelper.cs) (revision 3716307f520488309250ca011e43fe660ecc0e6a) @@ -55,7 +55,7 @@ /// Thrown when: /// /// is not in the interval [0.0, 100.0] or is ; - /// is not larger than 1 or is . + /// is smaller than 1 or is . /// /// public static double GetNorm(IAssessmentSection assessmentSection, @@ -103,7 +103,7 @@ if (!Enum.IsDefined(typeof(FailureMechanismCategoryType), categoryType)) { throw new InvalidEnumArgumentException(nameof(categoryType), - (int)categoryType, + (int) categoryType, typeof(FailureMechanismCategoryType)); } @@ -120,7 +120,7 @@ if (double.IsNaN(n) || n < 1.0) { - throw new ArgumentOutOfRangeException(nameof(n), $@"The value for '{nameof(n)}' must be larger than 1.0."); + throw new ArgumentOutOfRangeException(nameof(n), $@"The value for '{nameof(n)}' must be 1.0 or larger."); } } }