Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Service/StabilityPointStructuresValidationRulesRegistry.cs =================================================================== diff -u -r0cd6c26fb55b1f274b1dbf9b95a136329a0e4b40 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Service/StabilityPointStructuresValidationRulesRegistry.cs (.../StabilityPointStructuresValidationRulesRegistry.cs) (revision 0cd6c26fb55b1f274b1dbf9b95a136329a0e4b40) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Service/StabilityPointStructuresValidationRulesRegistry.cs (.../StabilityPointStructuresValidationRulesRegistry.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -60,7 +60,7 @@ validationRules = GetFloodedCulvertValidationRules(input); break; default: - throw new NotSupportedException($"The enum value {nameof(StabilityPointStructureInflowModelType)}.{inflowModelType} is not supported."); + throw new NotSupportedException(); } return validationRules; @@ -92,7 +92,7 @@ case LoadSchematizationType.Quadratic: return GetFloodedCulvertQuadraticValidationRules(input); default: - throw new NotSupportedException($"The enum value {nameof(LoadSchematizationType)}.{loadSchematizationType} is not supported."); + throw new NotSupportedException(); } } @@ -122,7 +122,7 @@ case LoadSchematizationType.Quadratic: return GetLowSillQuadraticValidationRules(input); default: - throw new NotSupportedException($"The enum value {nameof(LoadSchematizationType)}.{loadSchematizationType} is not supported."); + throw new NotSupportedException(); } }