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; }
|
|
|
|
|
|
2015-11-08 01:32:58 +08:00
|
|
|
|
public WoxPluginException(string pluginName, string msg, System.Exception e)
|
2015-11-09 11:20:02 +08:00
|
|
|
|
: base($"{pluginName} : {msg}", e)
|
|
|
|
|
{
|
|
|
|
|
PluginName = pluginName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WoxPluginException(string pluginName, string msg) : base(msg)
|
2015-01-16 23:42:12 +08:00
|
|
|
|
{
|
|
|
|
|
PluginName = pluginName;
|
|
|
|
|
}
|
2016-02-17 23:49:55 +08:00
|
|
|
|
|
|
|
|
|
public WoxPluginException(string msg) : base(msg)
|
|
|
|
|
{
|
|
|
|
|
}
|
2015-01-16 23:42:12 +08:00
|
|
|
|
}
|
|
|
|
|
}
|