Index: Ringtoets/Common/src/Ringtoets.Common.IO/Exceptions/SoilLayerConversionException.cs
===================================================================
diff -u
--- Ringtoets/Common/src/Ringtoets.Common.IO/Exceptions/SoilLayerConversionException.cs (revision 0)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Exceptions/SoilLayerConversionException.cs (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -0,0 +1,68 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using System.Runtime.Serialization;
+
+namespace Ringtoets.Common.IO.Exceptions
+{
+ ///
+ /// Exception thrown when something went wrong while converting soil layers for a soil profile.
+ ///
+ [Serializable]
+ public class SoilLayerConversionException : Exception
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public SoilLayerConversionException() {}
+
+ ///
+ /// Initializes a new instance of the class
+ /// with a specified error message.
+ ///
+ /// The message that describes the error.
+ public SoilLayerConversionException(string message)
+ : base(message) {}
+
+ ///
+ /// Initializes a new instance of the class with a specified error message
+ /// and a reference to the inner exception that is the cause of this exception.
+ ///
+ /// The error message that explains the reason for the exception.
+ /// The exception that is the cause of the current exception,
+ /// or null if no inner exception is specified.
+ public SoilLayerConversionException(string message, Exception innerException) : base(message, innerException) {}
+
+ ///
+ /// Initializes a new instance of with
+ /// serialized data.
+ /// The that holds the serialized
+ /// object data about the exception being thrown.
+ /// The that contains contextual
+ /// information about the source or destination.
+ /// The parameter is
+ /// null.
+ /// The class name is null or
+ /// is zero (0).
+ protected SoilLayerConversionException(SerializationInfo info, StreamingContext context) : base(info, context) {}
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Exceptions/SoilProfileReadException.cs
===================================================================
diff -u
--- Ringtoets/Common/src/Ringtoets.Common.IO/Exceptions/SoilProfileReadException.cs (revision 0)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Exceptions/SoilProfileReadException.cs (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -0,0 +1,121 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using System.Runtime.Serialization;
+using Ringtoets.Common.IO.SoilProfile;
+
+namespace Ringtoets.Common.IO.Exceptions
+{
+ ///
+ /// Exception thrown when something went wrong while trying to read a .
+ ///
+ [Serializable]
+ public class SoilProfileReadException : Exception
+ {
+ private const string profileNameKey = nameof(ProfileName);
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public SoilProfileReadException() {}
+
+ ///
+ /// Initializes a new instance of the class
+ /// with a specified error message.
+ ///
+ /// The error message that explains the reason for the exception.
+ public SoilProfileReadException(string message) : base(message) {}
+
+ ///
+ /// Initializes a new instance of the class
+ /// with a specified error message.
+ ///
+ /// The message that describes the error.
+ /// The name of the profile for which this exception was thrown.
+ public SoilProfileReadException(string message, string profileName)
+ : base(message)
+ {
+ ProfileName = profileName;
+ }
+
+ ///
+ /// Initializes a new instance of the class
+ /// with a specified error message.
+ ///
+ /// The error message that explains the reason for the exception.
+ /// The exception that is the cause of the current exception,
+ /// or null if no inner exception is specified.
+ public SoilProfileReadException(string message, Exception inner)
+ : base(message, inner) {}
+
+ ///
+ /// Initializes a new instance of the class with a specified error message
+ /// and a reference to the inner exception that is the cause of this exception.
+ ///
+ /// The error message that explains the reason for the exception.
+ /// The name of the profile for which this exception was thrown.
+ /// The exception that is the cause of the current exception,
+ /// or null if no inner exception is specified.
+ public SoilProfileReadException(string message, string profileName, Exception innerException)
+ : base(message, innerException)
+ {
+ ProfileName = profileName;
+ }
+
+ ///
+ /// Initializes a new instance of with
+ /// serialized data.
+ /// The that holds the serialized
+ /// object data about the exception being thrown.
+ /// The that contains contextual
+ /// information about the source or destination.
+ /// The parameter is
+ /// null.
+ /// The class name is null or
+ /// is zero (0).
+ private SoilProfileReadException(SerializationInfo info, StreamingContext context) : base(info, context)
+ {
+ ProfileName = info.GetString(profileNameKey);
+ }
+
+ ///
+ /// The name of the profile for which this exception was thrown.
+ ///
+ public string ProfileName
+ {
+ get
+ {
+ return (string) Data[profileNameKey];
+ }
+ private set
+ {
+ Data[profileNameKey] = value;
+ }
+ }
+
+ public override void GetObjectData(SerializationInfo info, StreamingContext context)
+ {
+ base.GetObjectData(info, context);
+ info.AddValue(profileNameKey, ProfileName);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Exceptions/StochasticSoilModelException.cs
===================================================================
diff -u
--- Ringtoets/Common/src/Ringtoets.Common.IO/Exceptions/StochasticSoilModelException.cs (revision 0)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Exceptions/StochasticSoilModelException.cs (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -0,0 +1,68 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using System.Runtime.Serialization;
+
+namespace Ringtoets.Common.IO.Exceptions
+{
+ ///
+ /// Exception thrown when something went wrong while constructing a soil model.
+ ///
+ [Serializable]
+ public class StochasticSoilModelException : Exception
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public StochasticSoilModelException() {}
+
+ ///
+ /// Initializes a new instance of the class
+ /// with a specified error message.
+ ///
+ /// The message that describes the error.
+ public StochasticSoilModelException(string message)
+ : base(message) {}
+
+ ///
+ /// Initializes a new instance of the class with a specified error message
+ /// and a reference to the inner exception that is the cause of this exception.
+ ///
+ /// The error message that explains the reason for the exception.
+ /// The exception that is the cause of the current exception,
+ /// or null if no inner exception is specified.
+ public StochasticSoilModelException(string message, Exception innerException) : base(message, innerException) {}
+
+ ///
+ /// Initializes a new instance of with
+ /// serialized data.
+ /// The that holds the serialized
+ /// object data about the exception being thrown.
+ /// The that contains contextual
+ /// information about the source or destination.
+ /// The parameter is
+ /// null.
+ /// The class name is null or
+ /// is zero (0).
+ protected StochasticSoilModelException(SerializationInfo info, StreamingContext context) : base(info, context) {}
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj
===================================================================
diff -u -rbe4427a66ef77dfa213048b0a823824ea679bce3 -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj (.../Ringtoets.Common.IO.csproj) (revision be4427a66ef77dfa213048b0a823824ea679bce3)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Ringtoets.Common.IO.csproj (.../Ringtoets.Common.IO.csproj) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -137,14 +137,14 @@
-
+
-
+
-
+
Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/LayerProperties.cs
===================================================================
diff -u -r552b65a5df277507ef77ef7c084f0bc82e314e3c -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/LayerProperties.cs (.../LayerProperties.cs) (revision 552b65a5df277507ef77ef7c084f0bc82e314e3c)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/LayerProperties.cs (.../LayerProperties.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -22,6 +22,7 @@
using System;
using Core.Common.IO.Readers;
using Core.Common.Utils.Builders;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.Properties;
using Ringtoets.Common.IO.SoilProfile.Schema;
Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SegmentPointReader.cs
===================================================================
diff -u -r17a2476bd707ad3da72ba4d6382915b9cc3fed07 -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SegmentPointReader.cs (.../SegmentPointReader.cs) (revision 17a2476bd707ad3da72ba4d6382915b9cc3fed07)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SegmentPointReader.cs (.../SegmentPointReader.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -27,6 +27,7 @@
using Core.Common.Base.IO;
using Core.Common.IO.Readers;
using Core.Common.Utils.Builders;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.Properties;
using Ringtoets.Common.IO.SoilProfile.Schema;
Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilDatabaseConstraintsReader.cs
===================================================================
diff -u -rda8e78c538a77ceea5a0709122e9e28ef573507b -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilDatabaseConstraintsReader.cs (.../SoilDatabaseConstraintsReader.cs) (revision da8e78c538a77ceea5a0709122e9e28ef573507b)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilDatabaseConstraintsReader.cs (.../SoilDatabaseConstraintsReader.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -81,7 +81,7 @@
throw new CriticalFileReadException(
BuildMessageWithPath(string.Format(
Resources.SoilDatabaseConstraintsReader_VerifyConstraints_Can_not_read_StochasticSoilProfile_Perhaps_table_missing,
- StochasticSoilProfileTableDefinitions.TableName)),
+ StochasticSoilProfileTableDefinitions.TableName)),
exception);
}
}
Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilLayer2DReader.cs
===================================================================
diff -u -rcc35c46d268e0c720cc37b29f3ed7806f4b3e6eb -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilLayer2DReader.cs (.../SoilLayer2DReader.cs) (revision cc35c46d268e0c720cc37b29f3ed7806f4b3e6eb)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilLayer2DReader.cs (.../SoilLayer2DReader.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -28,6 +28,7 @@
using System.Xml.Schema;
using System.Xml.XPath;
using Core.Common.Base.Geometry;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.Properties;
namespace Ringtoets.Common.IO.SoilProfile
Fisheye: Tag 36e7a0a258891013379258ea856d49351594666e refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilLayerConversionException.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilProfile1DReader.cs
===================================================================
diff -u -r73a759207c68c2bcf74a8486a40f222dbe627a96 -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilProfile1DReader.cs (.../SoilProfile1DReader.cs) (revision 73a759207c68c2bcf74a8486a40f222dbe627a96)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilProfile1DReader.cs (.../SoilProfile1DReader.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -26,6 +26,7 @@
using Core.Common.Base.IO;
using Core.Common.IO.Readers;
using Core.Common.Utils.Builders;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.Properties;
using Ringtoets.Common.IO.SoilProfile.Schema;
Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilProfile2DReader.cs
===================================================================
diff -u -r73a759207c68c2bcf74a8486a40f222dbe627a96 -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilProfile2DReader.cs (.../SoilProfile2DReader.cs) (revision 73a759207c68c2bcf74a8486a40f222dbe627a96)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilProfile2DReader.cs (.../SoilProfile2DReader.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -26,6 +26,7 @@
using Core.Common.Base.IO;
using Core.Common.IO.Readers;
using Core.Common.Utils.Builders;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.Properties;
using Ringtoets.Common.IO.SoilProfile.Schema;
Fisheye: Tag 36e7a0a258891013379258ea856d49351594666e refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilProfileReadException.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 36e7a0a258891013379258ea856d49351594666e refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/StochasticSoilModelException.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/StochasticSoilModelReader.cs
===================================================================
diff -u -rbe4427a66ef77dfa213048b0a823824ea679bce3 -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/StochasticSoilModelReader.cs (.../StochasticSoilModelReader.cs) (revision be4427a66ef77dfa213048b0a823824ea679bce3)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/StochasticSoilModelReader.cs (.../StochasticSoilModelReader.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -26,6 +26,7 @@
using Core.Common.Base.IO;
using Core.Common.IO.Readers;
using Core.Common.Utils.Builders;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.Properties;
using Ringtoets.Common.IO.SoilProfile.Schema;
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Exceptions/SoilLayerConversionExceptionTest.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Exceptions/SoilLayerConversionExceptionTest.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Exceptions/SoilLayerConversionExceptionTest.cs (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -0,0 +1,32 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using Core.Common.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.IO.Exceptions;
+
+namespace Ringtoets.Common.IO.Test.Exceptions
+{
+ [TestFixture]
+ public class SoilLayerConversionExceptionTest :
+ CustomExceptionDesignGuidelinesTestFixture {}
+}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Exceptions/SoilProfileReadExceptionTest.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Exceptions/SoilProfileReadExceptionTest.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Exceptions/SoilProfileReadExceptionTest.cs (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -0,0 +1,107 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using Core.Common.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.IO.Exceptions;
+
+namespace Ringtoets.Common.IO.Test.Exceptions
+{
+ [TestFixture]
+ public class SoilProfileReadExceptionTest :
+ CustomExceptionDesignGuidelinesTestFixture
+ {
+ [Test]
+ public void TypeParameterAndMessageConstructor_ExpectedValues()
+ {
+ // Setup
+ const string profileName = "";
+ const string messageText = "";
+
+ // Call
+ var exception = new SoilProfileReadException(messageText, profileName);
+
+ // Assert
+ base.AssertMessageConstructedInstance(exception, messageText, false);
+ Assert.AreEqual(profileName, exception.ProfileName);
+ Assert.AreEqual(1, exception.Data.Count);
+ Assert.AreEqual(exception.ProfileName, exception.Data[nameof(exception.ProfileName)]);
+ }
+
+ [Test]
+ public void TypeParameterAndMessageAndInnerExceptionConstructor_ExpectedValues()
+ {
+ // Setup
+ var innerException = new Exception();
+ const string profileName = "";
+ const string messageText = "";
+
+ // Call
+ var exception = new SoilProfileReadException(messageText, profileName, innerException);
+
+ // Assert
+ AssertMessageAndInnerExceptionConstructedInstance(exception, messageText, innerException, false);
+ Assert.AreEqual(profileName, exception.ProfileName);
+ Assert.AreEqual(1, exception.Data.Count);
+ Assert.AreEqual(exception.ProfileName, exception.Data[nameof(exception.ProfileName)]);
+ }
+
+ protected override void AssertDefaultConstructedInstance(SoilProfileReadException exception)
+ {
+ base.AssertDefaultConstructedInstance(exception);
+ CollectionAssert.IsEmpty(exception.Data);
+ Assert.IsNull(exception.ProfileName);
+ }
+
+ protected override void AssertMessageConstructedInstance(SoilProfileReadException exception, string messageText,
+ bool assertData = true)
+ {
+ base.AssertMessageConstructedInstance(exception, messageText, assertData);
+ if (assertData)
+ {
+ Assert.IsNull(exception.ProfileName);
+ }
+ }
+
+ protected override void AssertMessageAndInnerExceptionConstructedInstance(SoilProfileReadException exception, string messageText,
+ Exception innerException, bool assertData = true)
+ {
+ base.AssertMessageAndInnerExceptionConstructedInstance(exception, messageText, innerException, assertData);
+ if (assertData)
+ {
+ Assert.IsNull(exception.ProfileName);
+ }
+ }
+
+ protected override SoilProfileReadException CreateFullyConfiguredException()
+ {
+ var originalInnerException = new Exception("inner");
+ return new SoilProfileReadException("", "", originalInnerException);
+ }
+
+ protected override void AssertRoundTripResult(SoilProfileReadException originalException, SoilProfileReadException persistedException)
+ {
+ base.AssertRoundTripResult(originalException, persistedException);
+ Assert.AreEqual(originalException.ProfileName, persistedException.ProfileName);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Exceptions/StochasticSoilModelExceptionTest.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Exceptions/StochasticSoilModelExceptionTest.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Exceptions/StochasticSoilModelExceptionTest.cs (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -0,0 +1,32 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using Core.Common.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.IO.Exceptions;
+
+namespace Ringtoets.Common.IO.Test.Exceptions
+{
+ [TestFixture]
+ public class StochasticSoilModelExceptionTest :
+ CustomExceptionDesignGuidelinesTestFixture {}
+}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Ringtoets.Common.IO.Test.csproj
===================================================================
diff -u -r552b65a5df277507ef77ef7c084f0bc82e314e3c -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Ringtoets.Common.IO.Test.csproj (.../Ringtoets.Common.IO.Test.csproj) (revision 552b65a5df277507ef77ef7c084f0bc82e314e3c)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Ringtoets.Common.IO.Test.csproj (.../Ringtoets.Common.IO.Test.csproj) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -120,13 +120,13 @@
-
+
-
-
+
+
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/LayerPropertiesTest.cs
===================================================================
diff -u -r552b65a5df277507ef77ef7c084f0bc82e314e3c -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/LayerPropertiesTest.cs (.../LayerPropertiesTest.cs) (revision 552b65a5df277507ef77ef7c084f0bc82e314e3c)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/LayerPropertiesTest.cs (.../LayerPropertiesTest.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -24,6 +24,7 @@
using Core.Common.IO.Readers;
using NUnit.Framework;
using Rhino.Mocks;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.SoilProfile;
using Ringtoets.Common.IO.SoilProfile.Schema;
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SegmentPointReaderTest.cs
===================================================================
diff -u -r17a2476bd707ad3da72ba4d6382915b9cc3fed07 -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SegmentPointReaderTest.cs (.../SegmentPointReaderTest.cs) (revision 17a2476bd707ad3da72ba4d6382915b9cc3fed07)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SegmentPointReaderTest.cs (.../SegmentPointReaderTest.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -27,6 +27,7 @@
using Core.Common.TestUtil;
using Core.Common.Utils.Builders;
using NUnit.Framework;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.SoilProfile;
namespace Ringtoets.Common.IO.Test.SoilProfile
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilLayer2DReaderTest.cs
===================================================================
diff -u -rcc35c46d268e0c720cc37b29f3ed7806f4b3e6eb -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilLayer2DReaderTest.cs (.../SoilLayer2DReaderTest.cs) (revision cc35c46d268e0c720cc37b29f3ed7806f4b3e6eb)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilLayer2DReaderTest.cs (.../SoilLayer2DReaderTest.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -29,6 +29,7 @@
using Core.Common.Base.Geometry;
using Core.Common.TestUtil;
using NUnit.Framework;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.SoilProfile;
namespace Ringtoets.Common.IO.Test.SoilProfile
Fisheye: Tag 36e7a0a258891013379258ea856d49351594666e refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilLayerConversionExceptionTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 36e7a0a258891013379258ea856d49351594666e refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/SoilProfileReadExceptionTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 36e7a0a258891013379258ea856d49351594666e refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/StochasticSoilModelExceptionTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/StochasticSoilModelReaderTest.cs
===================================================================
diff -u -rbe4427a66ef77dfa213048b0a823824ea679bce3 -r36e7a0a258891013379258ea856d49351594666e
--- Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/StochasticSoilModelReaderTest.cs (.../StochasticSoilModelReaderTest.cs) (revision be4427a66ef77dfa213048b0a823824ea679bce3)
+++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/SoilProfile/StochasticSoilModelReaderTest.cs (.../StochasticSoilModelReaderTest.cs) (revision 36e7a0a258891013379258ea856d49351594666e)
@@ -27,6 +27,7 @@
using Core.Common.TestUtil;
using Core.Common.Utils.Builders;
using NUnit.Framework;
+using Ringtoets.Common.IO.Exceptions;
using Ringtoets.Common.IO.SoilProfile;
namespace Ringtoets.Common.IO.Test.SoilProfile