PowerToys/Wox.Infrastructure/Exception/WoxPluginException.cs

23 lines
560 B
C#
Raw Normal View History

2016-01-06 14:45:08 +08:00
namespace Wox.Infrastructure.Exception
2015-01-16 23:42:12 +08:00
{
public class WoxPluginException : WoxException
{
public string PluginName { get; set; }
public WoxPluginException(string pluginName, string msg, System.Exception e)
: base($"{pluginName} : {msg}", e)
{
PluginName = pluginName;
}
public WoxPluginException(string pluginName, string msg) : base(msg)
2015-01-16 23:42:12 +08:00
{
PluginName = pluginName;
}
public WoxPluginException(string msg) : base(msg)
{
}
2015-01-16 23:42:12 +08:00
}
}