summaryrefslogtreecommitdiff
path: root/slips/src/app/Marina/Infrastructure/Container/InterfaceResolutionException.cs
blob: d42b5506f466a6be4bb26c845d43702ebb392185 (plain)
1
2
3
4
5
6
7
8
9
10
11
using System;

namespace Marina.Infrastructure.Container {
	public class InterfaceResolutionException : Exception {
		public const string ExceptionMessageFormat = "Failed to resolve an implementation of an {0}";

		public InterfaceResolutionException( Exception innerException, Type interfaceThatCouldNotBeResolvedForSomeReason )
			: base(
				string.Format( ExceptionMessageFormat, interfaceThatCouldNotBeResolvedForSomeReason.FullName ), innerException ) {}
	}
}