📄 requiredfieldexception.cs
字号:
using NetBpm.Workflow.Definition;
namespace NetBpm.Workflow.Execution
{
/// <summary> is a RuntimeException that is thrown when an actor performs an activity and no value is supplied
/// for one of the required fields.
/// </summary>
public class RequiredFieldException : ExecutionException
{
private IField _field = null;
public IField Field
{
get { return _field; }
}
public RequiredFieldException(IField field) : base("field '" + field.Attribute.Name + "' was required and not submitted in the perform of state '" + field.State.Name + "'")
{
this._field = field;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -