{
if (ret != (int)Interop.Shortcut.ErrorCode.None)
{
- throw ShortcutErrorFactory.GetException((Interop.Shortcut.ErrorCode)ret, "unable to add shortcut");
+ Log.Error(LogTag, "unable to add shortcut " + ret);
}
return 0;
{
if (ret != (int)Interop.Shortcut.ErrorCode.None)
{
- throw ShortcutErrorFactory.GetException((Interop.Shortcut.ErrorCode)ret, "unable to add widget");
+ Log.Error(LogTag, "unable to add widget " + ret);
}
return 0;
{
if (ret != (int)Interop.Shortcut.ErrorCode.None)
{
- throw ShortcutErrorFactory.GetException((Interop.Shortcut.ErrorCode)ret, "unable to delete shortcut");
+ Log.Error(LogTag, "unable to delete shortcut " + ret);
}
return 0;