From 9f189100c93c43372459c25984cb56ed00165f39 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 18 Apr 2022 18:38:32 +0800 Subject: ... --- .../RegisterCode/InvalidRegisterCodeException.cs | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs (limited to 'BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs') diff --git a/BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs b/BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs new file mode 100644 index 00000000..d779609b --- /dev/null +++ b/BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs @@ -0,0 +1,42 @@ +using System; +namespace Timeline.Services.User.RegisterCode +{ + + [Serializable] + public class InvalidRegisterCodeException : Exception + { + /// + /// Initializes a new instance of the class + /// + public InvalidRegisterCodeException() + { + } + + /// + /// Initializes a new instance of the class + /// + /// A that describes the exception. + public InvalidRegisterCodeException(string message) : base(message) + { + } + + /// + /// Initializes a new instance of the class + /// + /// A that describes the exception. + /// The exception that is the cause of the current exception. + public InvalidRegisterCodeException(string message, System.Exception inner) : base(message, inner) + { + } + + /// + /// Initializes a new instance of the class + /// + /// The contextual information about the source or destination. + /// The object that holds the serialized object data. + protected InvalidRegisterCodeException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) + { + } + } +} + -- cgit v1.2.3