/// <summary> /// New exception for domain policy constraint. /// </summary> /// <param name="results"></param> /// <param name="inner"></param> public DomainPolicyException(ValidationResults results, Exception inner) : base(messageDefault, inner) { this.ValidationResults = results.AsQueryable().ToList().AsReadOnly(); }