Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/PipingSoilProfileEntityReadExtensions.cs
===================================================================
diff -u -ra096cb901099c85dbaafa2dba6c69288464c248e -r8c6f5442c5e135d2ef3a67161b7d4d5c24fb21a2
--- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/PipingSoilProfileEntityReadExtensions.cs (.../PipingSoilProfileEntityReadExtensions.cs) (revision a096cb901099c85dbaafa2dba6c69288464c248e)
+++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/PipingSoilProfileEntityReadExtensions.cs (.../PipingSoilProfileEntityReadExtensions.cs) (revision 8c6f5442c5e135d2ef3a67161b7d4d5c24fb21a2)
@@ -40,9 +40,13 @@
/// The object keeping track of read operations.
/// A new or one from the if the
/// has been read before.
- /// Thrown when is null.
- internal static PipingSoilProfile Read(this PipingSoilProfileEntity entity, ReadConversionCollector collector)
+ /// Thrown when any input parameter is null.
+ public static PipingSoilProfile Read(this PipingSoilProfileEntity entity, ReadConversionCollector collector)
{
+ if (entity == null)
+ {
+ throw new ArgumentNullException(nameof(entity));
+ }
if (collector == null)
{
throw new ArgumentNullException(nameof(collector));