From 51915b88800d2aaeb47abb1f8ab853e5cfa79faf Mon Sep 17 00:00:00 2001 From: Neil South Date: Thu, 7 Sep 2023 14:58:54 +0100 Subject: [PATCH] testing exception Signed-off-by: Neil South --- src/InformaticsGateway/Common/PostPayloadException.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/InformaticsGateway/Common/PostPayloadException.cs b/src/InformaticsGateway/Common/PostPayloadException.cs index ab322b3a5..713c9d9db 100755 --- a/src/InformaticsGateway/Common/PostPayloadException.cs +++ b/src/InformaticsGateway/Common/PostPayloadException.cs @@ -46,5 +46,7 @@ public PostPayloadException(string message, Exception innerException) : base(mes protected PostPayloadException(SerializationInfo info, StreamingContext context) : base(info, context) { } + + public override void GetObjectData(SerializationInfo info, StreamingContext context) : base(info, context) => throw new NotImplementedException(); } }