From e9ea621b93fbb58d9edfca8375918791637bbd52 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 30 Dec 2020 20:59:04 +0800 Subject: +init --- .../Exceptions/ImpostorProtocolException.cs | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Impostor-dev/src/Impostor.Api/Exceptions/ImpostorProtocolException.cs (limited to 'Impostor-dev/src/Impostor.Api/Exceptions/ImpostorProtocolException.cs') diff --git a/Impostor-dev/src/Impostor.Api/Exceptions/ImpostorProtocolException.cs b/Impostor-dev/src/Impostor.Api/Exceptions/ImpostorProtocolException.cs new file mode 100644 index 0000000..864602d --- /dev/null +++ b/Impostor-dev/src/Impostor.Api/Exceptions/ImpostorProtocolException.cs @@ -0,0 +1,24 @@ +using System; +using System.Runtime.Serialization; + +namespace Impostor.Api +{ + public class ImpostorProtocolException : ImpostorException + { + public ImpostorProtocolException() + { + } + + protected ImpostorProtocolException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } + + public ImpostorProtocolException(string? message) : base(message) + { + } + + public ImpostorProtocolException(string? message, Exception? innerException) : base(message, innerException) + { + } + } +} -- cgit v1.1-26-g67d0