1 Star 0 Fork 33

空-悟/NScript

forked from 车江毅/NScript 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
NScriptException.cs 859 Bytes
一键复制 编辑 原始数据 按行查看 历史
车江毅 提交于 2016-06-24 10:21 +08:00 . add project
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BSF.BaseService.NScript.Compiler
{
public class NScriptException : Exception
{
public string MessageDetail
{
get {
string message = (this.Message==null?"":this.Message);
Exception exp = null;
exp = this.InnerException;
while(exp !=null)
{
message += "\n" + (exp.Message == null ? "" : exp.Message);
exp = exp.InnerException;
}
return message;
}
}
public NScriptException(string message)
: base(message)
{
}
public NScriptException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/seeseason/NScript.git
git@gitee.com:seeseason/NScript.git
seeseason
NScript
NScript
master

搜索帮助