using System; namespace Swan.DependencyInjection { /// /// Weak Reference Exception. /// /// public class DependencyContainerWeakReferenceException : Exception { private const String ErrorText = "Unable to instantiate {0} - referenced object has been reclaimed"; /// /// Initializes a new instance of the class. /// /// The type. public DependencyContainerWeakReferenceException(Type type) : base(String.Format(ErrorText, type.FullName)) { } } }