Index: Ringtoets/Integration/src/Ringtoets.Integration.Service/Exceptions/AssessmentSectionProviderException.cs =================================================================== diff -u --- Ringtoets/Integration/src/Ringtoets.Integration.Service/Exceptions/AssessmentSectionProviderException.cs (revision 0) +++ Ringtoets/Integration/src/Ringtoets.Integration.Service/Exceptions/AssessmentSectionProviderException.cs (revision a11b9ebc3155cc78af19e03b867d4d88c076d83b) @@ -0,0 +1,47 @@ +using System; +using System.Runtime.Serialization; + +namespace Ringtoets.Integration.Service.Exceptions +{ + /// + /// Exception thrown when something went wrong when providing assessment sections. + /// + [Serializable] + public class AssessmentSectionProviderException : Exception + { + /// + /// Initializes a new instance of the class. + /// + public AssessmentSectionProviderException() {} + + /// + /// Initializes a new instance of the class + /// with a specified error message. + /// + /// The message that describes the error. + public AssessmentSectionProviderException(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 AssessmentSectionProviderException(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 AssessmentSectionProviderException(SerializationInfo info, StreamingContext context) : base(info, context) {} + } +} \ No newline at end of file Index: Ringtoets/Integration/src/Ringtoets.Integration.Service/Ringtoets.Integration.Service.csproj =================================================================== diff -u -r03944888070e0a93a7a8af136e0e859ecc77e694 -ra11b9ebc3155cc78af19e03b867d4d88c076d83b --- Ringtoets/Integration/src/Ringtoets.Integration.Service/Ringtoets.Integration.Service.csproj (.../Ringtoets.Integration.Service.csproj) (revision 03944888070e0a93a7a8af136e0e859ecc77e694) +++ Ringtoets/Integration/src/Ringtoets.Integration.Service/Ringtoets.Integration.Service.csproj (.../Ringtoets.Integration.Service.csproj) (revision a11b9ebc3155cc78af19e03b867d4d88c076d83b) @@ -17,6 +17,7 @@ + Index: Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/Exceptions/AssessmentSectionProviderExceptionTest.cs =================================================================== diff -u --- Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/Exceptions/AssessmentSectionProviderExceptionTest.cs (revision 0) +++ Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/Exceptions/AssessmentSectionProviderExceptionTest.cs (revision a11b9ebc3155cc78af19e03b867d4d88c076d83b) @@ -0,0 +1,11 @@ +using System; +using Core.Common.TestUtil; +using NUnit.Framework; +using Ringtoets.Integration.Service.Exceptions; + +namespace Ringtoets.Integration.Service.Test.Exceptions +{ + [TestFixture] + public class AssessmentSectionProviderExceptionTest : + CustomExceptionDesignGuidelinesTestFixture {} +} \ No newline at end of file Index: Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/Ringtoets.Integration.Service.Test.csproj =================================================================== diff -u -r03944888070e0a93a7a8af136e0e859ecc77e694 -ra11b9ebc3155cc78af19e03b867d4d88c076d83b --- Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/Ringtoets.Integration.Service.Test.csproj (.../Ringtoets.Integration.Service.Test.csproj) (revision 03944888070e0a93a7a8af136e0e859ecc77e694) +++ Ringtoets/Integration/test/Ringtoets.Integration.Service.Test/Ringtoets.Integration.Service.Test.csproj (.../Ringtoets.Integration.Service.Test.csproj) (revision a11b9ebc3155cc78af19e03b867d4d88c076d83b) @@ -20,6 +20,7 @@ +