namespace Swan.DependencyInjection
{
using System;
///
/// 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))
{
}
}
}