
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;


namespace User.Insight.Tracker.Common
{
    [ExcludeFromCodeCoverage]
    [Serializable]
    public class DataValidationException : Exception
    {
        public DataValidationException()
        {
        }

        public DataValidationException(string message)
            : base(message)
        {
        }

        public DataValidationException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

        // Recommended serialization constructor
        protected DataValidationException(SerializationInfo info, StreamingContext context)
        #pragma warning disable SYSLIB0051 // Type or member is obsolete
            : base(info, context)
        #pragma warning restore SYSLIB0051 // Type or member is obsolete
        {
        }    
    }
}
