//-----------------------------------------------------------------------------------------------------------------------------------------------------
 public ContractConventionException(IObjectFactoryConvention convention, Type contract, MemberInfo member, string message, Exception innerException)
     : base(string.Format("{0}.{1} does not match {2}. {3}.", contract.FullName, member.Name, convention.GetType().Name, message), innerException)
 {
 }
 //-----------------------------------------------------------------------------------------------------------------------------------------------------
 public ContractConventionException(IObjectFactoryConvention convention, Type contract, string message)
     : base(string.Format("{0} does not match {1}. {2}.", contract.FullName, convention.GetType().Name, message))
 {
 }