aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-18 18:38:32 +0800
committercrupest <crupest@outlook.com>2022-04-18 18:38:32 +0800
commit9f189100c93c43372459c25984cb56ed00165f39 (patch)
treeb6b379a2e2a99a273e72c5361e0bb86652afa84c /BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs
parentf840db633076f8bb172beee5f0f8cab2d76ee23a (diff)
downloadtimeline-9f189100c93c43372459c25984cb56ed00165f39.tar.gz
timeline-9f189100c93c43372459c25984cb56ed00165f39.tar.bz2
timeline-9f189100c93c43372459c25984cb56ed00165f39.zip
...
Diffstat (limited to 'BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs')
-rw-r--r--BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs42
1 files changed, 42 insertions, 0 deletions
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
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="T:InvalidRegisterCodeException"/> class
+ /// </summary>
+ public InvalidRegisterCodeException()
+ {
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="T:InvalidRegisterCodeException"/> class
+ /// </summary>
+ /// <param name="message">A <see cref="T:System.String"/> that describes the exception. </param>
+ public InvalidRegisterCodeException(string message) : base(message)
+ {
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="T:InvalidRegisterCodeException"/> class
+ /// </summary>
+ /// <param name="message">A <see cref="T:System.String"/> that describes the exception. </param>
+ /// <param name="inner">The exception that is the cause of the current exception. </param>
+ public InvalidRegisterCodeException(string message, System.Exception inner) : base(message, inner)
+ {
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="T:InvalidRegisterCodeException"/> class
+ /// </summary>
+ /// <param name="context">The contextual information about the source or destination.</param>
+ /// <param name="info">The object that holds the serialized object data.</param>
+ protected InvalidRegisterCodeException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
+ {
+ }
+ }
+}
+