From 6d567c9058feb20bdcc1af0ba9ac18ce0537f29b Mon Sep 17 00:00:00 2001 From: Matheo THIERRY Date: Thu, 25 May 2023 08:44:25 +0200 Subject: [PATCH] test2 exception --- notus/Biblioteque_de_Class/Exception.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notus/Biblioteque_de_Class/Exception.cs b/notus/Biblioteque_de_Class/Exception.cs index 722af20..90f37a1 100644 --- a/notus/Biblioteque_de_Class/Exception.cs +++ b/notus/Biblioteque_de_Class/Exception.cs @@ -1,13 +1,14 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Biblioteque_de_Class { [Serializable] - public class NotAllowedException : Exception + public class NotAllowedException : Exception, ISerializable { public NotAllowedException(string message) : base(message) {