main
 1using System;
 2using gorilla.commons.utility;
 3
 4namespace MoMoney.boot.container.registration.mapping
 5{
 6    public class PropertyResolutionException : Exception
 7    {
 8        public const string exception_message_format = "Failed to find the property named {0} on type {1}";
 9
10        public PropertyResolutionException(Type type_that_did_not_have_the_property,
11                                           string property_that_could_not_be_found)
12            : base(
13                exception_message_format.formatted_using(property_that_could_not_be_found,
14                                                         type_that_did_not_have_the_property.Name)) {}
15    }
16}