Browse Source

[2836] Note that a method may throw

Michal 'vorner' Vaner 12 years ago
parent
commit
689aa37ea4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/datasrc/memory/zone_table.h

+ 2 - 0
src/lib/datasrc/memory/zone_table.h

@@ -144,6 +144,8 @@ public:
     /// This method adds a given zone data to the internal table.
     ///
     /// \throw std::bad_alloc Internal resource allocation fails.
+    /// \throw MemorySegmentGrown when the memory segment grown and
+    ///     possibly relocated.
     ///
     /// \param mem_sgmt The \c MemorySegment to allocate zone data to be
     ///     created.  It must be the same segment that was used to create