/// <summary> /// Constructor /// </summary> /// <param name="entity">An entity descriptor to prime the collection with. Useful when there is only one entity. /// If there is more than one entity then add them via the Entities property</param> /// <param name="innerException">The lower level exception</param> public EntityNotFoundException(EntityDescriptor entity, Exception innerException) : base(SYSTEM_MESSAGE, entity, innerException) { }
/// <summary> /// Constructor /// </summary> /// <param name="entity">An entity descriptor to prime the collection with. Useful when there is only one entity. /// If there is more than one entity then add them via the Entities property</param> public EntityNotFoundException(EntityDescriptor entity) : this(entity, null) { }