.NET Portable TypeCast  3.1.0.4
A, easy-to-use tested, generic, portable, runtime-extensible, arbitrary type converter library
DependencyInjectionException.cs
Go to the documentation of this file.
1 // <copyright file=mitlicense.md url=http://lsauer.mit-license.org/ >
2 // Lo Sauer, 2013-2016
3 // </copyright>
4 // <summary> A tested, generic, portable, runtime-extensible type converter library </summary
5 // <language> C# > 6.0 </language>
6 // <version> 3.1.0.2 </version>
7 // <author> Lorenz Lo Sauer; people credited in the sources </author>
8 // <project> https://github.com/lsauer/dotnet-portable-type-cast </project>
9 namespace Core.TypeCast
10 {
11  using System;
12 
13  using Core.Extensions;
14  using Base;
15 
19  public class DependencyInjectionException : Exception, IException
20  {
29  public DependencyInjectionException(string message = null, Exception innerException = null)
30  : base(message: message, innerException: innerException)
31  {
32  }
33 
37  public string GetMessage()
38  {
39  return Message;
40  }
41  }
42 }
The common Exceptioninterface.
Definition: IException.cs:16
string GetMessage()
Gets the exception message.
DependencyInjectionException(string message=null, Exception innerException=null)
Initializes a new instance of the DependencyInjectionException class. Allows passing an optional user...
The Exception-type which is raised exclusively by the DependencyInjection<TDependency> class ...