2016-01-06 06:45:08 +00:00
|
|
|
|
namespace Wox.Infrastructure.Exception
|
2015-01-16 23:42:12 +08:00
|
|
|
|
{
|
|
|
|
|
|
public class WoxPluginException : WoxException
|
|
|
|
|
|
{
|
|
|
|
|
|
public string PluginName { get; set; }
|
|
|
|
|
|
|
2015-11-07 17:32:58 +00:00
|
|
|
|
public WoxPluginException(string pluginName, string msg, System.Exception e)
|
2015-11-09 03:20:02 +00: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 15:49:55 +00:00
|
|
|
|
|
|
|
|
|
|
public WoxPluginException(string msg) : base(msg)
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
2015-01-16 23:42:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|