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) { } } }