Commit eb53cae4 authored by Stephen Morris's avatar Stephen Morris
Browse files

[1330] Move NoSuchSerial exception to data_source.h

parent 132e0b02
......@@ -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 {
///
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment