2020-03-28 08:43:16 +13:00
|
|
|
|
using System;
|
2020-03-30 00:20:18 +13:00
|
|
|
|
using System.Runtime.Serialization;
|
2020-03-28 08:43:16 +13:00
|
|
|
|
|
|
|
|
|
namespace SystemTrayMenu.Helper
|
|
|
|
|
{
|
2020-03-30 00:20:18 +13:00
|
|
|
|
[Serializable]
|
2020-03-28 08:43:16 +13:00
|
|
|
|
public class ShellContextMenuException : Exception
|
|
|
|
|
{
|
|
|
|
|
public ShellContextMenuException()
|
|
|
|
|
{
|
2020-03-30 00:20:18 +13:00
|
|
|
|
// Add any type-specific logic, and supply the default message.
|
2020-03-28 08:43:16 +13:00
|
|
|
|
}
|
|
|
|
|
|
2020-03-30 00:20:18 +13:00
|
|
|
|
public ShellContextMenuException(string message) : base(message)
|
2020-03-28 08:43:16 +13:00
|
|
|
|
{
|
2020-03-30 00:20:18 +13:00
|
|
|
|
// Add any type-specific logic.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ShellContextMenuException(string message, Exception innerException) :
|
|
|
|
|
base(message, innerException)
|
|
|
|
|
{
|
|
|
|
|
// Add any type-specific logic for inner exceptions.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected ShellContextMenuException(SerializationInfo info,
|
|
|
|
|
StreamingContext context) : base(info, context)
|
|
|
|
|
{
|
|
|
|
|
// Implement type-specific serialization constructor logic.
|
2020-03-28 08:43:16 +13:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|