diff options
Diffstat (limited to 'src/Notepad/Infrastructure/Container/DependencyResolutionException.cs')
| -rw-r--r-- | src/Notepad/Infrastructure/Container/DependencyResolutionException.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Notepad/Infrastructure/Container/DependencyResolutionException.cs b/src/Notepad/Infrastructure/Container/DependencyResolutionException.cs new file mode 100644 index 0000000..fe36112 --- /dev/null +++ b/src/Notepad/Infrastructure/Container/DependencyResolutionException.cs @@ -0,0 +1,9 @@ +using System;
+using Notepad.Infrastructure.Extensions;
+
+namespace Notepad.Infrastructure.Container {
+ public class DependencyResolutionException<T> : Exception {
+ public DependencyResolutionException(Exception innerException)
+ : base("Could not resolve {0}".FormatWith(typeof (T).FullName), innerException) {}
+ }
+}
\ No newline at end of file |
