summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/lease_mgr_factory.h
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2016-01-12 14:26:07 +0100
committerMarcin Siodelski <marcin@isc.org>2016-01-12 14:26:07 +0100
commit05c79aa7067fbbe65391c06f61057f24aa020959 (patch)
tree94c874eb4213e139c1a4436bc388f9c2bee563a1 /src/lib/dhcpsrv/lease_mgr_factory.h
parent[master] ChangeLog commit-id updated. (diff)
downloadkea-05c79aa7067fbbe65391c06f61057f24aa020959.tar.xz
kea-05c79aa7067fbbe65391c06f61057f24aa020959.zip
[3696] It is allowed to not specify lease database configuration.
In such case, the server will use a default configuration - memfile lease database backend.
Diffstat (limited to 'src/lib/dhcpsrv/lease_mgr_factory.h')
-rwxr-xr-xsrc/lib/dhcpsrv/lease_mgr_factory.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/dhcpsrv/lease_mgr_factory.h b/src/lib/dhcpsrv/lease_mgr_factory.h
index c812954f95..279058bed8 100755
--- a/src/lib/dhcpsrv/lease_mgr_factory.h
+++ b/src/lib/dhcpsrv/lease_mgr_factory.h
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -18,14 +18,6 @@
namespace isc {
namespace dhcp {
-/// @brief Invalid type exception
-///
-/// Thrown when the factory doesn't recognize the type of the backend.
-class InvalidType : public Exception {
-public:
- InvalidType(const char* file, size_t line, const char* what) :
- isc::Exception(file, line, what) {}
-};
/// @brief No lease manager exception
///