2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 23:15:20 +00:00

[#92,!13] Moved NoSuchLease exception back to dhcpsrv library.

This commit is contained in:
Marcin Siodelski
2018-08-29 14:14:57 +02:00
parent cc98fc37da
commit 4255e8fcc0
10 changed files with 43 additions and 15 deletions

View File

@@ -8,6 +8,7 @@
#define MYSQL_LEASE_MGR_H
#include <dhcp/hwaddr.h>
#include <dhcpsrv/dhcpsrv_exceptions.h>
#include <dhcpsrv/lease_mgr.h>
#include <dhcpsrv/mysql_connection.h>
@@ -377,7 +378,7 @@ public:
///
/// @param lease4 The lease to be updated.
///
/// @throw isc::db::NoSuchLease Attempt to update a lease that did not
/// @throw isc::dhcp::NoSuchLease Attempt to update a lease that did not
/// exist.
/// @throw isc::db::DbOperationError An operation on the open database has
/// failed.
@@ -390,7 +391,7 @@ public:
///
/// @param lease6 The lease to be updated.
///
/// @throw isc::db::NoSuchLease Attempt to update a lease that did not
/// @throw isc::dhcp::NoSuchLease Attempt to update a lease that did not
/// exist.
/// @throw isc::db::DbOperationError An operation on the open database has
/// failed.