﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hugg.Logic.LogicExceptions
{
    [Serializable]
    public class UserAlreadyExistException : ApplicationException
    {
        /// <summary>
        /// This class represents an exception which is thrown 
        /// when the user already exist in the system
        /// </summary>
        public UserAlreadyExistException()
        { }
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="message">message for the user</param>
        public UserAlreadyExistException(string message)
            : base(message)
        { }

        public UserAlreadyExistException(string message, Exception inner)
            : base(message, inner)
        { }

        protected UserAlreadyExistException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
            : base(info, context)
        { }


    }
}
