You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/Infrastructure/Data/EntityInvalidException.cs

36 lines
943 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
namespace Infrastructure.Data
{
[Serializable]
public class EntityInvalidException : Exception
{
private List<ValidationResult> validationResults;
private string v;
public EntityInvalidException()
{
}
public EntityInvalidException(string message) : base(message)
{
}
public EntityInvalidException(List<ValidationResult> validationResults, string v)
{
this.validationResults = validationResults;
this.v = v;
}
public EntityInvalidException(string message, Exception innerException) : base(message, innerException)
{
}
protected EntityInvalidException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}