1 Star 0 Fork 33

昆塔/NScript

forked from 车江毅/NScript 
Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
NScriptException.cs 859 Bytes
Copy Edit Raw Blame History
车江毅 authored 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 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kunta/NScript.git
git@gitee.com:kunta/NScript.git
kunta
NScript
NScript
master

Search