You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
954 B
30 lines
954 B
// Author: Gockner, Simon
|
|
// Created: 2019-06-28
|
|
// Copyright(c) 2019 SimonG. All Rights Reserved.
|
|
|
|
using System.Reflection;
|
|
|
|
namespace LightweightIocContainer.Exceptions
|
|
{
|
|
/// <summary>
|
|
/// The creation of the abstract method is illegal in its current state
|
|
/// </summary>
|
|
internal class IllegalAbstractMethodCreationException : IocContainerException
|
|
{
|
|
/// <summary>
|
|
/// The creation of the abstract method is illegal in its current state
|
|
/// </summary>
|
|
/// <param name="message">The exception message</param>
|
|
/// <param name="method">The method that is illegal to create</param>
|
|
public IllegalAbstractMethodCreationException(string message, MethodInfo method)
|
|
: base(message)
|
|
{
|
|
Method = method;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The Method whose creation is illegal
|
|
/// </summary>
|
|
public MethodInfo Method { get; }
|
|
}
|
|
} |