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