2020-07-07 07:15:45 +12:00
|
|
|
|
// <copyright file="ShellContextMenuException.cs" company="PlaceholderCompany">
|
|
|
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
|
|
|
// </copyright>
|
2020-03-28 08:43:16 +13:00
|
|
|
|
|
|
|
|
|
namespace SystemTrayMenu.Helper
|
|
|
|
|
{
|
2020-07-07 07:15:45 +12:00
|
|
|
|
using System;
|
|
|
|
|
using System.Runtime.Serialization;
|
2020-07-07 09:37:55 +12:00
|
|
|
|
|
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-07-07 07:15:45 +12: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.
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-07 07:15:45 +12:00
|
|
|
|
public ShellContextMenuException(string message, Exception innerException)
|
|
|
|
|
: base(message, innerException)
|
2020-03-30 00:20:18 +13:00
|
|
|
|
{
|
|
|
|
|
// Add any type-specific logic for inner exceptions.
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-07 07:15:45 +12:00
|
|
|
|
protected ShellContextMenuException(
|
2020-07-07 09:37:55 +12:00
|
|
|
|
SerializationInfo info, StreamingContext context)
|
2020-07-07 07:15:45 +12:00
|
|
|
|
: base(info, context)
|
2020-03-30 00:20:18 +13:00
|
|
|
|
{
|
|
|
|
|
// Implement type-specific serialization constructor logic.
|
2020-03-28 08:43:16 +13:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|