CPF/CPF.ReoGrid/Common/ActionException.cs
2024-06-24 10:15:59 +08:00

32 lines
422 B
C#

using System;
namespace CPF.ReoGrid.Common
{
[Serializable]
public class ActionException : Exception
{
internal IAction Action
{
get
{
return this.action;
}
set
{
this.action = value;
}
}
public ActionException(string msg) : this(null, msg)
{
}
public ActionException(IAction action, string msg) : base(msg)
{
this.action = action;
}
private IAction action;
}
}