Пример #1
0
 public Atom10FeedFormatter GetCollectionSnapshotsFeed(string collectionId)
 {
     try
     {
         var feed = _serverCore.GetSnapshotsFeed(collectionId);
         if (feed == null)
         {
             RaiseNotFound("No collection with id " + collectionId);
         }
         return(feed);
     } catch (Exception ex)
     {
         if (!(ex is WebFaultException <string>))
         {
             RaiseServerException(ex,
                                  "Error processing GetCollectionSnapshotsFeed for " + collectionId +
                                  " see server logs for details.");
             return(null);
         }
         throw;
     }
 }