mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-10-03 10:36:30 +13:00
37 lines
1 KiB
C#
37 lines
1 KiB
C#
// <copyright file="ShellContextMenuException.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace SystemTrayMenu.Helper
|
|
{
|
|
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
[Serializable]
|
|
public class ShellContextMenuException : Exception
|
|
{
|
|
public ShellContextMenuException()
|
|
{
|
|
// Add any type-specific logic, and supply the default message.
|
|
}
|
|
|
|
public ShellContextMenuException(string message)
|
|
: base(message)
|
|
{
|
|
// 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.
|
|
}
|
|
}
|
|
}
|