using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Sleis.Models.ErrorHandling { public class UniqueIdentifierException : Exception { public UniqueIdentifierException(Type entityType, string message) : base(String.Format("Identifer for {0} already exists.", entityType.Name)) { } } }