Parcourir la source

[1330] Move NoSuchSerial exception to data_source.h

Stephen Morris il y a 13 ans
Parent
commit
eb53cae4b3
2 fichiers modifiés avec 12 ajouts et 12 suppressions
  1. 12 0
      src/lib/datasrc/data_source.h
  2. 0 12
      src/lib/datasrc/sqlite3_accessor.h

+ 12 - 0
src/lib/datasrc/data_source.h

@@ -53,6 +53,18 @@ public:
         isc::Exception(file, line, what) {}
 };
 
+/// \brief No such serial number when obtaining difference iterator
+///
+/// Thrown if either the zone/start serial number or zone/end serial number
+/// combination does not exist in the differences table.  (Note that this
+/// includes the case where the differences table contains no records related
+/// to that zone.)
+class NoSuchSerial : public DataSourceError {
+public:
+    NoSuchSerial(const char* file, size_t line, const char* what) :
+        DataSourceError(file, line, what) {}
+};
+
 
 class AbstractDataSrc {
     ///

+ 0 - 12
src/lib/datasrc/sqlite3_accessor.h

@@ -71,18 +71,6 @@ public:
         DataSourceError(file, line, what) {}
 };
 
-/**
- * \brief No such serial number when obtaining difference iterator
- *
- * Thrown if either the zone/start version or zone/end version combination
- * does not exist in the differences table.
- */
-class NoSuchSerial : public DataSourceError {
-public:
-    NoSuchSerial(const char* file, size_t line, const char* what) :
-        DataSourceError(file, line, what) {}
-};
-
 
 struct SQLite3Parameters;