BIND 10 trac1330, updated. eb53cae4b35f858436cc20bf28ad06cbdb2211ab [1330] Move NoSuchSerial exception to data_source.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Nov 14 16:46:09 UTC 2011
The branch, trac1330 has been updated
via eb53cae4b35f858436cc20bf28ad06cbdb2211ab (commit)
from 132e0b02edf9a0cebccd64a183eb56839f42606f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit eb53cae4b35f858436cc20bf28ad06cbdb2211ab
Author: Stephen Morris <stephen at isc.org>
Date: Mon Nov 14 16:45:39 2011 +0000
[1330] Move NoSuchSerial exception to data_source.h
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/data_source.h | 12 ++++++++++++
src/lib/datasrc/sqlite3_accessor.h | 12 ------------
2 files changed, 12 insertions(+), 12 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/data_source.h b/src/lib/datasrc/data_source.h
index a7a15a9..c35f0d3 100644
--- a/src/lib/datasrc/data_source.h
+++ b/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 {
///
diff --git a/src/lib/datasrc/sqlite3_accessor.h b/src/lib/datasrc/sqlite3_accessor.h
index be998fa..44359b2 100644
--- a/src/lib/datasrc/sqlite3_accessor.h
+++ b/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;
More information about the bind10-changes
mailing list