Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PresentationObjects/ClosingStructuresContextBase.cs =================================================================== diff -u -r8587508c66a1bc0938465e97cf365cc1ef254f53 -r438a524144f283209902ae89f058a134380c9538 --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PresentationObjects/ClosingStructuresContextBase.cs (.../ClosingStructuresContextBase.cs) (revision 8587508c66a1bc0938465e97cf365cc1ef254f53) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PresentationObjects/ClosingStructuresContextBase.cs (.../ClosingStructuresContextBase.cs) (revision 438a524144f283209902ae89f058a134380c9538) @@ -23,9 +23,7 @@ using Core.Common.Base; using Core.Common.Controls.PresentationObjects; using Ringtoets.ClosingStructures.Data; -using Ringtoets.ClosingStructures.Forms.Properties; using Ringtoets.Common.Data.AssessmentSection; -using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; namespace Ringtoets.ClosingStructures.Forms.PresentationObjects { @@ -49,17 +47,12 @@ { if (failureMechanism == null) { - string message = string.Format(RingtoetsCommonFormsResources.AssertInputsAreNotNull_DataDescription_0_cannot_be_null, - Resources.ClosingStructuresContextBase_DataDescription_ClosingStructuresFailureMechanism); - throw new ArgumentNullException("failureMechanism", message); + throw new ArgumentNullException("failureMechanism"); } if (assessmentSection == null) { - string message = string.Format(RingtoetsCommonFormsResources.AssertInputsAreNotNull_DataDescription_0_cannot_be_null, - RingtoetsCommonFormsResources.FailureMechanismContext_DataDescription_AssessmentSection); - - throw new ArgumentNullException("assessmentSection", message); + throw new ArgumentNullException("assessmentSection"); } FailureMechanism = failureMechanism;