Index: Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationService.cs
===================================================================
diff -u -rb7988d7a5616c8c305dac4419a15d5eda07e88bc -r93044b3ed52a925c5321b68ff2beb886c6bf7068
--- Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationService.cs (.../DesignWaterLevelCalculationService.cs) (revision b7988d7a5616c8c305dac4419a15d5eda07e88bc)
+++ Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationService.cs (.../DesignWaterLevelCalculationService.cs) (revision 93044b3ed52a925c5321b68ff2beb886c6bf7068)
@@ -205,18 +205,15 @@
/// for which to set the .
/// The to base the
/// to create on.
- /// Thrown when
- /// is null.
private static void SetIllustrationPointsResult(HydraulicBoundaryLocationOutput hydraulicBoundaryLocationOutput,
HydraRingGeneralResult hydraRingGeneralResult)
{
- if (hydraRingGeneralResult == null)
+ if (hydraRingGeneralResult != null)
{
- throw new HydraRingCalculationException(Resources.DesignWaterLevelCalculationService_SetIllustrationPointsResult_No_general_result_found);
+ GeneralResultSubMechanismIllustrationPoint generalResult =
+ GeneralResultSubmechanismIllustrationPointConverter.CreateGeneralResultSubmechanismIllustrationPoint(hydraRingGeneralResult);
+ hydraulicBoundaryLocationOutput.SetIllustrationPoints(generalResult);
}
- GeneralResultSubMechanismIllustrationPoint generalResult =
- GeneralResultSubmechanismIllustrationPointConverter.CreateGeneralResultSubmechanismIllustrationPoint(hydraRingGeneralResult);
- hydraulicBoundaryLocationOutput.SetIllustrationPoints(generalResult);
}
///
@@ -256,7 +253,7 @@
///
/// Creates the input for a design water level calculation.
///
- /// The
+ /// The
/// to create the input from.
/// The norm to use during the calculation.
/// The file path to the hydraulic