main
 1using System;
 2using System.Reflection;
 3using gorilla.commons.utility;
 4
 5namespace MoMoney.boot.container.registration.mapping
 6{
 7    public class ImmutablePropertyException : Exception
 8    {
 9        public const string exception_message_format = "The property [{0}] on the target type [{1}] is immutable";
10
11        public ImmutablePropertyException(Type target, PropertyInfo property)
12            : base(exception_message_format.formatted_using(property.Name, target.Name)) {}
13    }
14}