32 lines
422 B
C#
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;
|
|
}
|
|
}
|