Browse Source

[1781] doc: explicitly noted DataSourceError can be thrown from NSEC3 methods.

(as suggested in review)
JINMEI Tatuya 13 years ago
parent
commit
211934fe44
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/lib/datasrc/database.h

+ 5 - 1
src/lib/datasrc/database.h

@@ -482,9 +482,11 @@ public:
     /// unexpected type of RRs (and the result of subsequent lookups) is
     /// undefined.
     ///
-    /// Other general notes for \c addRecordToZone() also applies to this
+    /// Other general notes for \c addRecordToZone() also apply to this
     /// method.
     ///
+    /// \exception DataSourceError Invalid call without starting a transaction,
+    /// or other internal database error.
     /// \exception isc::NotImplemented in case the database does not support
     ///     NSEC3
     ///
@@ -545,6 +547,8 @@ public:
     /// This is the same as \c ADD_NSEC3_HASH column for
     /// \c addRecordToNSEC3Zone().
     ///
+    /// \exception DataSourceError Invalid call without starting a transaction,
+    /// or other internal database error.
     /// \exception isc::NotImplemented in case the database does not support
     ///     NSEC3
     ///