예제 #1
0
 /// <summary>
 /// Build, and throw exception.<br />
 /// 构建,并抛出异常。
 /// </summary>
 public new void BuildAndThrow(Dictionary <string, IArgDescriptionVal> exceptionParams)
 {
     CreateAndCacheExceptionInstance(exceptionParams);
     ExceptionHelper.PrepareForRethrow(CachedException.As <TException>());
 }
예제 #2
0
 /// <summary>
 /// Build.<br />
 /// 构建。
 /// </summary>
 /// <returns></returns>
 public new TException Build(Dictionary <string, IArgDescriptionVal> exceptionParams)
 {
     CreateAndCacheExceptionInstance(exceptionParams);
     return(CachedException.As <TException>());
 }