Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/SurfaceLineEntityReadExtensions.cs =================================================================== diff -u -r00e33c83f9799a2e2a0c00d7c93a0a9557701b0e -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/SurfaceLineEntityReadExtensions.cs (.../SurfaceLineEntityReadExtensions.cs) (revision 00e33c83f9799a2e2a0c00d7c93a0a9557701b0e) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/SurfaceLineEntityReadExtensions.cs (.../SurfaceLineEntityReadExtensions.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -222,7 +222,7 @@ surfaceLine.SetDitchPolderSideAt(geometryPoint); break; default: - throw new NotSupportedException($"The enum value {nameof(PipingCharacteristicPointType)}.{type} is not supported."); + throw new NotSupportedException(); } } @@ -285,7 +285,7 @@ surfaceLine.SetDitchPolderSideAt(geometryPoint); break; default: - throw new NotSupportedException($"The enum value {nameof(MacroStabilityInwardsCharacteristicPointType)}.{type} is not supported."); + throw new NotSupportedException(); } } Index: Core/Common/src/Core.Common.Controls.TreeView/DragDropHandler.cs =================================================================== diff -u -r00e33c83f9799a2e2a0c00d7c93a0a9557701b0e -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Core/Common/src/Core.Common.Controls.TreeView/DragDropHandler.cs (.../DragDropHandler.cs) (revision 00e33c83f9799a2e2a0c00d7c93a0a9557701b0e) +++ Core/Common/src/Core.Common.Controls.TreeView/DragDropHandler.cs (.../DragDropHandler.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -369,7 +369,7 @@ xPos = bounds.Right; break; default: - throw new NotSupportedException($"The enum value {nameof(AnchorStyles)}.{anchor} is not supported."); + throw new NotSupportedException(); } switch (location) @@ -384,7 +384,7 @@ yPos = bounds.Top + bounds.Height / 2; break; default: - throw new NotSupportedException($"The enum value {nameof(PlaceholderLocation)}.{location} is not supported."); + throw new NotSupportedException(); } return CreateTrianglePoints(new Rectangle(xPos, yPos - placeHolderWidth, placeHolderWidth, placeHolderHeight), anchor); Index: Core/Common/src/Core.Common.Gui/Forms/ViewHost/AvalonDockViewHost.xaml.cs =================================================================== diff -u -r7f82fd637dc8796f3d270cb0fa6d9ab18548c6f4 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Core/Common/src/Core.Common.Gui/Forms/ViewHost/AvalonDockViewHost.xaml.cs (.../AvalonDockViewHost.xaml.cs) (revision 7f82fd637dc8796f3d270cb0fa6d9ab18548c6f4) +++ Core/Common/src/Core.Common.Gui/Forms/ViewHost/AvalonDockViewHost.xaml.cs (.../AvalonDockViewHost.xaml.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -450,7 +450,7 @@ layoutAnchorablePaneGroup = RightLayoutAnchorablePaneGroup; break; default: - throw new NotSupportedException($"The enum value {nameof(ToolViewLocation)}.{toolViewLocation} is not supported."); + throw new NotSupportedException(); } layoutAnchorablePaneGroup.Descendents() Index: Core/Common/src/Core.Common.Util/Drawing/ColorAccess.cs =================================================================== diff -u -r00e33c83f9799a2e2a0c00d7c93a0a9557701b0e -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Core/Common/src/Core.Common.Util/Drawing/ColorAccess.cs (.../ColorAccess.cs) (revision 00e33c83f9799a2e2a0c00d7c93a0a9557701b0e) +++ Core/Common/src/Core.Common.Util/Drawing/ColorAccess.cs (.../ColorAccess.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -293,7 +293,7 @@ case PixelFormat.Format1bppIndexed: return 1; default: - throw new NotSupportedException($"The enum value {nameof(PixelFormat)}.{pixelFormat} is not supported."); + throw new NotSupportedException(); } } } Index: Core/Common/test/Core.Common.TestUtil/LogLevelConstant.cs =================================================================== diff -u -rffba5900acc192187346a9ad73acea5e8b9d0bf5 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Core/Common/test/Core.Common.TestUtil/LogLevelConstant.cs (.../LogLevelConstant.cs) (revision ffba5900acc192187346a9ad73acea5e8b9d0bf5) +++ Core/Common/test/Core.Common.TestUtil/LogLevelConstant.cs (.../LogLevelConstant.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -71,7 +71,7 @@ case LogLevelConstant.Debug: return Level.Debug; default: - throw new NotSupportedException($"The enum value {nameof(LogLevelConstant)}.{level} is not supported."); + throw new NotSupportedException(); } } } Index: Core/Components/src/Core.Components.BruTile/Configurations/WellKnownTileSourceLayerConfiguration.cs =================================================================== diff -u -r7f82fd637dc8796f3d270cb0fa6d9ab18548c6f4 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Core/Components/src/Core.Components.BruTile/Configurations/WellKnownTileSourceLayerConfiguration.cs (.../WellKnownTileSourceLayerConfiguration.cs) (revision 7f82fd637dc8796f3d270cb0fa6d9ab18548c6f4) +++ Core/Components/src/Core.Components.BruTile/Configurations/WellKnownTileSourceLayerConfiguration.cs (.../WellKnownTileSourceLayerConfiguration.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -136,7 +136,7 @@ case WellKnownTileSource.OpenStreetMap: return KnownTileSource.OpenStreetMap; default: - throw new NotSupportedException($"Unknown value '{wellKnownTileSource}' for '{nameof(wellKnownTileSource)}'"); + throw new NotSupportedException(); } } Index: Core/Components/src/Core.Components.DotSpatial/Converter/FeatureBasedMapDataConverter.cs =================================================================== diff -u -r3197a117a8f4b8726ef40fe31d88a34f4621a56c -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Core/Components/src/Core.Components.DotSpatial/Converter/FeatureBasedMapDataConverter.cs (.../FeatureBasedMapDataConverter.cs) (revision 3197a117a8f4b8726ef40fe31d88a34f4621a56c) +++ Core/Components/src/Core.Components.DotSpatial/Converter/FeatureBasedMapDataConverter.cs (.../FeatureBasedMapDataConverter.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -284,7 +284,7 @@ case ValueCriterionOperator.UnequalValue: return $"NOT [{attributeIndex}] = '{criterion.Value}'"; default: - throw new NotSupportedException($"The enum value {nameof(ValueCriterionOperator)}.{valueOperator} is not supported."); + throw new NotSupportedException(); } } } Index: Core/Components/src/Core.Components.DotSpatial/Converter/MapDataHelper.cs =================================================================== diff -u -rd500058ffe5b6cf9eed5849e8de4a168e8fa28e1 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Core/Components/src/Core.Components.DotSpatial/Converter/MapDataHelper.cs (.../MapDataHelper.cs) (revision d500058ffe5b6cf9eed5849e8de4a168e8fa28e1) +++ Core/Components/src/Core.Components.DotSpatial/Converter/MapDataHelper.cs (.../MapDataHelper.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -76,7 +76,7 @@ shape = PointShape.Pentagon; break; default: - throw new NotSupportedException($"The enum value {nameof(PointShape)}.{symbol} is not supported."); + throw new NotSupportedException(); } return shape; } @@ -117,7 +117,7 @@ lineStyle = DashStyle.DashDotDot; break; default: - throw new NotSupportedException($"The enum value {nameof(LineDashStyle)}.{dashStyle} is not supported."); + throw new NotSupportedException(); } return lineStyle; } Index: Core/Components/src/Core.Components.OxyPlot/Converter/ChartDataHelper.cs =================================================================== diff -u -rd500058ffe5b6cf9eed5849e8de4a168e8fa28e1 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Core/Components/src/Core.Components.OxyPlot/Converter/ChartDataHelper.cs (.../ChartDataHelper.cs) (revision d500058ffe5b6cf9eed5849e8de4a168e8fa28e1) +++ Core/Components/src/Core.Components.OxyPlot/Converter/ChartDataHelper.cs (.../ChartDataHelper.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -70,7 +70,7 @@ lineStyle = LineStyle.DashDotDot; break; default: - throw new NotSupportedException($"The enum value {nameof(ChartLineDashStyle)}.{dashStyle} is not supported."); + throw new NotSupportedException(); } return lineStyle; } @@ -118,7 +118,7 @@ markerType = MarkerType.Plus; break; default: - throw new NotSupportedException($"The enum value {nameof(ChartPointSymbol)}.{symbol} is not supported."); + throw new NotSupportedException(); } return markerType; } Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Service/ClosingStructuresCalculationService.cs =================================================================== diff -u -r0cd6c26fb55b1f274b1dbf9b95a136329a0e4b40 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Service/ClosingStructuresCalculationService.cs (.../ClosingStructuresCalculationService.cs) (revision 0cd6c26fb55b1f274b1dbf9b95a136329a0e4b40) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Service/ClosingStructuresCalculationService.cs (.../ClosingStructuresCalculationService.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -65,7 +65,7 @@ input = CreateFloodedCulvertCalculationInput(structureInput, generalInput); break; default: - throw new NotSupportedException($"The enum value {nameof(ClosingStructureInflowModelType)}.{closingStructureInflowModelType} is not supported."); + throw new NotSupportedException(); } HydraRingSettingsDatabaseHelper.AssignSettingsFromDatabase(input, hydraulicBoundaryDatabaseFilePath, usePreprocessor); Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Service/ClosingStructuresValidationRulesRegistry.cs =================================================================== diff -u -r0cd6c26fb55b1f274b1dbf9b95a136329a0e4b40 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Service/ClosingStructuresValidationRulesRegistry.cs (.../ClosingStructuresValidationRulesRegistry.cs) (revision 0cd6c26fb55b1f274b1dbf9b95a136329a0e4b40) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Service/ClosingStructuresValidationRulesRegistry.cs (.../ClosingStructuresValidationRulesRegistry.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -63,7 +63,7 @@ validationRules = GetFloodedCulvertValidationRules(input); break; default: - throw new NotSupportedException($"The enum value {nameof(ClosingStructureInflowModelType)}.{inflowModelType} is not supported."); + throw new NotSupportedException(); } return validationRules; Index: Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/RingtoetsWellKnownTileSourceExtension.cs =================================================================== diff -u -rca0345432ea951a80e3e956a8d485840c0897e1d -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/RingtoetsWellKnownTileSourceExtension.cs (.../RingtoetsWellKnownTileSourceExtension.cs) (revision ca0345432ea951a80e3e956a8d485840c0897e1d) +++ Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/RingtoetsWellKnownTileSourceExtension.cs (.../RingtoetsWellKnownTileSourceExtension.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -64,7 +64,7 @@ case RingtoetsWellKnownTileSource.EsriWorldShadedRelief: return Resources.RingtoetsWellKnownTileSource_EsriWorldShadedRelief_DisplayName; default: - throw new NotSupportedException($"The enum value {nameof(RingtoetsWellKnownTileSource)}.{ringtoetsWellKnownTileSource} is not supported."); + throw new NotSupportedException(); } } } Index: Ringtoets/Common/src/Ringtoets.Common.Service/HydraRingInputParser.cs =================================================================== diff -u -r9cdd93062dad3c0ade2809346b2eb0033befdf55 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/Common/src/Ringtoets.Common.Service/HydraRingInputParser.cs (.../HydraRingInputParser.cs) (revision 9cdd93062dad3c0ade2809346b2eb0033befdf55) +++ Ringtoets/Common/src/Ringtoets.Common.Service/HydraRingInputParser.cs (.../HydraRingInputParser.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -81,7 +81,7 @@ case BreakWaterType.Dam: return 3; default: - throw new NotSupportedException($"Value '{type}' is not supported."); + throw new NotSupportedException(); } } } Index: Ringtoets/Common/src/Ringtoets.Common.Service/IllustrationPoints/CombinationTypeConverter.cs =================================================================== diff -u -r624182c7e9be3e758f0c6a55e360edac0892d48e -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/Common/src/Ringtoets.Common.Service/IllustrationPoints/CombinationTypeConverter.cs (.../CombinationTypeConverter.cs) (revision 624182c7e9be3e758f0c6a55e360edac0892d48e) +++ Ringtoets/Common/src/Ringtoets.Common.Service/IllustrationPoints/CombinationTypeConverter.cs (.../CombinationTypeConverter.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -57,7 +57,7 @@ case HydraRingCombinationType.And: return CombinationType.And; default: - throw new NotSupportedException($"The value {hydraRingCombinationType} is not supported."); + throw new NotSupportedException(); } } } Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs =================================================================== diff -u -rb2ef7ff2f4eb8bb6b4954751bf5de32d37df84d1 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs (.../AssessmentSection.cs) (revision b2ef7ff2f4eb8bb6b4954751bf5de32d37df84d1) +++ Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs (.../AssessmentSection.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -410,7 +410,7 @@ FailureMechanismContribution.UpdateContributions(GetContributingFailureMechanisms(), 20); break; default: - throw new NotSupportedException($"The enum value {nameof(AssessmentSectionComposition)}.{newComposition} is not supported."); + throw new NotSupportedException(); } Composition = newComposition; Index: Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs =================================================================== diff -u -rdbf85f8af33717398f517d8e1602fe58e023e369 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision dbf85f8af33717398f517d8e1602fe58e023e369) +++ Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -1771,7 +1771,7 @@ case TreeFolderCategory.Output: return RingtoetsCommonFormsResources.OutputFolderIcon; default: - throw new NotSupportedException($"The enum value {nameof(TreeFolderCategory)}.{category} is not supported."); + throw new NotSupportedException(); } } Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensions.cs =================================================================== diff -u -r38dd2d81eada00a5bcec11cb847e298aad9c83e6 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensions.cs (.../MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensions.cs) (revision 38dd2d81eada00a5bcec11cb847e298aad9c83e6) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensions.cs (.../MacroStabilityInwardsFailureMechanismSectionResultDetailedAssessmentExtensions.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -197,7 +197,7 @@ case CalculationScenarioStatus.Done: continue; default: - throw new NotSupportedException($"The enum value {nameof(CalculationScenarioStatus)}.{calculationScenarioStatus} is not supported."); + throw new NotSupportedException(); } } Index: Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingFailureMechanismSectionResultDetailedAssessmentExtensions.cs =================================================================== diff -u -r38dd2d81eada00a5bcec11cb847e298aad9c83e6 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingFailureMechanismSectionResultDetailedAssessmentExtensions.cs (.../PipingFailureMechanismSectionResultDetailedAssessmentExtensions.cs) (revision 38dd2d81eada00a5bcec11cb847e298aad9c83e6) +++ Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingFailureMechanismSectionResultDetailedAssessmentExtensions.cs (.../PipingFailureMechanismSectionResultDetailedAssessmentExtensions.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -194,7 +194,7 @@ case CalculationScenarioStatus.Done: continue; default: - throw new NotSupportedException($"The enum value {nameof(CalculationScenarioStatus)}.{calculationScenarioStatus} is not supported."); + throw new NotSupportedException(); } } Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInputHelper.cs =================================================================== diff -u -r5580a3f80fcb903e6f5448339013766abc2bbebd -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInputHelper.cs (.../WaveConditionsInputHelper.cs) (revision 5580a3f80fcb903e6f5448339013766abc2bbebd) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInputHelper.cs (.../WaveConditionsInputHelper.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -80,7 +80,7 @@ waveConditionsInput.CategoryType = AssessmentSectionCategoryType.SignalingNorm; break; default: - throw new NotSupportedException($"The enum value {nameof(NormType)}.{normType} is not supported."); + throw new NotSupportedException(); } } @@ -118,7 +118,7 @@ waveConditionsInput.CategoryType = FailureMechanismCategoryType.MechanismSpecificSignalingNorm; break; default: - throw new NotSupportedException($"The enum value {nameof(NormType)}.{normType} is not supported."); + throw new NotSupportedException(); } } } Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInputStepSizeExtensions.cs =================================================================== diff -u -rca0345432ea951a80e3e956a8d485840c0897e1d -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInputStepSizeExtensions.cs (.../WaveConditionsInputStepSizeExtensions.cs) (revision ca0345432ea951a80e3e956a8d485840c0897e1d) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInputStepSizeExtensions.cs (.../WaveConditionsInputStepSizeExtensions.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -54,7 +54,7 @@ case WaveConditionsInputStepSize.Two: return 2.0; default: - throw new NotSupportedException($"The enum value {nameof(WaveConditionsInputStepSize)}.{stepSize} is not supported."); + throw new NotSupportedException(); } } } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs =================================================================== diff -u -r39864a3af725b9bb35bf4aa3e1774fb1c47a9270 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs (.../ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs) (revision 39864a3af725b9bb35bf4aa3e1774fb1c47a9270) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs (.../ConfigurationStabilityPointStructuresInflowModelTypeConverter.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -110,7 +110,7 @@ case ConfigurationStabilityPointStructuresInflowModelType.FloodedCulvert: return StabilityPointStructureInflowModelType.FloodedCulvert; default: - throw new NotSupportedException($"Value '{type}' is not supported."); + throw new NotSupportedException(); } } @@ -129,7 +129,7 @@ case ConfigurationStabilityPointStructuresInflowModelType.FloodedCulvert: return StabilityPointStructuresConfigurationSchemaIdentifiers.InflowModelFloodedCulvertStructure; default: - throw new NotSupportedException($"Value '{type}' is not supported."); + throw new NotSupportedException(); } } @@ -148,7 +148,7 @@ case StabilityPointStructuresConfigurationSchemaIdentifiers.InflowModelFloodedCulvertStructure: return ConfigurationStabilityPointStructuresInflowModelType.FloodedCulvert; default: - throw new NotSupportedException($"Value '{text}' is not supported."); + throw new NotSupportedException(); } } @@ -167,7 +167,7 @@ case StabilityPointStructureInflowModelType.FloodedCulvert: return ConfigurationStabilityPointStructuresInflowModelType.FloodedCulvert; default: - throw new NotSupportedException($"Value '{inflowModelType}' is not supported."); + throw new NotSupportedException(); } } } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs =================================================================== diff -u -r39864a3af725b9bb35bf4aa3e1774fb1c47a9270 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs (.../ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs) (revision 39864a3af725b9bb35bf4aa3e1774fb1c47a9270) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/Configurations/Helpers/ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs (.../ConfigurationStabilityPointStructuresLoadSchematizationTypeConverter.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -110,7 +110,7 @@ case LoadSchematizationType.Quadratic: return ConfigurationStabilityPointStructuresLoadSchematizationType.Quadratic; default: - throw new NotSupportedException($"Value '{loadSchematizationType}' is not supported."); + throw new NotSupportedException(); } } @@ -130,7 +130,7 @@ case StabilityPointStructuresConfigurationSchemaIdentifiers.LoadSchematizationQuadraticStructure: return ConfigurationStabilityPointStructuresLoadSchematizationType.Quadratic; default: - throw new NotSupportedException($"Value '{text}' is not supported."); + throw new NotSupportedException(); } } @@ -149,7 +149,7 @@ case ConfigurationStabilityPointStructuresLoadSchematizationType.Quadratic: return LoadSchematizationType.Quadratic; default: - throw new NotSupportedException($"Value '{type}' is not supported."); + throw new NotSupportedException(); } } @@ -168,7 +168,7 @@ case ConfigurationStabilityPointStructuresLoadSchematizationType.Quadratic: return StabilityPointStructuresConfigurationSchemaIdentifiers.LoadSchematizationQuadraticStructure; default: - throw new NotSupportedException($"Value '{type}' is not supported."); + throw new NotSupportedException(); } } } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Service/StabilityPointStructuresCalculationService.cs =================================================================== diff -u -r0cd6c26fb55b1f274b1dbf9b95a136329a0e4b40 -re3ebc9635d55057cb242e9a5b4f650b9c87737a8 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Service/StabilityPointStructuresCalculationService.cs (.../StabilityPointStructuresCalculationService.cs) (revision 0cd6c26fb55b1f274b1dbf9b95a136329a0e4b40) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Service/StabilityPointStructuresCalculationService.cs (.../StabilityPointStructuresCalculationService.cs) (revision e3ebc9635d55057cb242e9a5b4f650b9c87737a8) @@ -66,7 +66,7 @@ input = CreateFloodedCulvertInput(structureInput, generalInput); break; default: - throw new NotSupportedException($"The enum value {nameof(StabilityPointStructureInflowModelType)}.{inflowModelType} is not supported."); + throw new NotSupportedException(); } HydraRingSettingsDatabaseHelper.AssignSettingsFromDatabase(input, hydraulicBoundaryDatabaseFilePath, usePreprocessor); @@ -106,7 +106,7 @@ structureInput, generalInput); default: - throw new NotSupportedException($"The enum value {nameof(LoadSchematizationType)}.{loadSchematizationType} is not supported."); + throw new NotSupportedException(); } } @@ -143,7 +143,7 @@ structureInput, generalInput); default: - throw new NotSupportedException($"The enum value {nameof(LoadSchematizationType)}.{loadSchematizationType} is not supported."); + throw new NotSupportedException(); } } 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(); } }