Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
eb53cae4
Commit
eb53cae4
authored
Nov 14, 2011
by
Stephen Morris
Browse files
[1330] Move NoSuchSerial exception to data_source.h
parent
132e0b02
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/data_source.h
View file @
eb53cae4
...
...
@@ -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
{
///
...
...
src/lib/datasrc/sqlite3_accessor.h
View file @
eb53cae4
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment