Browse Source

[2052] Fix documentation of partial_compare() for exceptions it can throw

Mukund Sivaraman 13 years ago
parent
commit
491a0e2f9c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/dns/name.h

+ 2 - 1
src/lib/dns/name.h

@@ -407,7 +407,8 @@ private:
     /// <code>Name</code> and <code>other</code> and returns the result
     /// in the form of a <code>NameComparisonResult</code> object.
     ///
-    /// This method never throws an exception.
+    /// This method can throw the BadValue exception if bad label
+    /// indices are passed.
     ///
     /// \param other the right-hand operand to compare against.
     /// \param first_label the leftmost label of <code>Name</code> to