Exemplo n.º 1
0
 /// <summary>
 /// Helper to create a wrapped Exception, that provides more error infos for a feed
 /// </summary>
 /// <param name="e">Exception</param>
 /// <param name="f">NewsFeed</param>
 /// <param name="fi">IFeedDetails</param>
 /// <returns></returns>
 internal static FeedRequestException CreateLocalFeedRequestException(Exception e, INewsFeed f, IFeedDetails fi)
 {
     return(new FeedRequestException(e.Message, e, FeedSource.CreateFailureContext(f, fi)));
 }