diff options
Diffstat (limited to 'BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs')
-rw-r--r-- | BackEnd/Timeline/Services/User/RegisterCode/InvalidRegisterCodeException.cs | 42 |
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) + { + } + } +} + |