1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Core - Make PluginException ctor public

This commit is contained in:
Robert 2020-11-18 20:24:42 +01:00
parent 080620f7ae
commit 69f02d83ac

View File

@ -7,26 +7,41 @@ namespace Artemis.Core
/// </summary>
public class ArtemisPluginException : Exception
{
internal ArtemisPluginException(Plugin plugin)
/// <summary>
/// Creates a new instance of the <see cref="ArtemisPluginException" /> class
/// </summary>
public ArtemisPluginException(Plugin plugin)
{
Plugin = plugin;
}
internal ArtemisPluginException(Plugin plugin, string message) : base(message)
/// <summary>
/// Creates a new instance of the <see cref="ArtemisPluginException" /> class
/// </summary>
public ArtemisPluginException(Plugin plugin, string message) : base(message)
{
Plugin = plugin;
}
internal ArtemisPluginException(Plugin plugin, string message, Exception inner) : base(message, inner)
/// <summary>
/// Creates a new instance of the <see cref="ArtemisPluginException" /> class
/// </summary>
public ArtemisPluginException(Plugin plugin, string message, Exception inner) : base(message, inner)
{
Plugin = plugin;
}
internal ArtemisPluginException(string message) : base(message)
/// <summary>
/// Creates a new instance of the <see cref="ArtemisPluginException" /> class
/// </summary>
public ArtemisPluginException(string message) : base(message)
{
}
internal ArtemisPluginException(string message, Exception inner) : base(message, inner)
/// <summary>
/// Creates a new instance of the <see cref="ArtemisPluginException" /> class
/// </summary>
public ArtemisPluginException(string message, Exception inner) : base(message, inner)
{
}