Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ProjectEntity.cs =================================================================== diff -u -r75a219c391144ca71a684f46e96e5d3f0c17f170 -r56fcaa1987b9a7235553ff43a0a4f36b46efdb2e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ProjectEntity.cs (.../ProjectEntity.cs) (revision 75a219c391144ca71a684f46e96e5d3f0c17f170) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ProjectEntity.cs (.../ProjectEntity.cs) (revision 56fcaa1987b9a7235553ff43a0a4f36b46efdb2e) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System; using Application.Ringtoets.Storage.Read; using Core.Common.Base.Data; @@ -35,8 +36,13 @@ /// /// The object keeping track of read operations. /// A new . + /// Thrown when is null. public Project Read(ReadConversionCollector collector) { + if (collector == null) + { + throw new ArgumentNullException("collector"); + } var project = new Project { StorageId = ProjectEntityId,