]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[406-update-cb_cmds-with-get-commands] Updated CB exception messages
authorFrancis Dupont <fdupont@isc.org>
Fri, 25 Jan 2019 22:50:44 +0000 (23:50 +0100)
committerFrancis Dupont <fdupont@isc.org>
Tue, 5 Feb 2019 16:11:11 +0000 (11:11 -0500)
src/lib/config_backend/base_config_backend_pool.h

index d88940e2af51c5060564cab380c373847741d4da..9b255133c24bcfff1cb4c51e93e43ce9bf28ec67 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2019 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
@@ -233,7 +233,7 @@ protected:
                 }
 
             } else {
-                isc_throw(db::NoSuchDatabase, "no database found for selector: "
+                isc_throw(db::NoSuchDatabase, "no such database found for selector: "
                           << backend_selector.toText());
             }
         }
@@ -303,7 +303,7 @@ protected:
                 }
 
             } else {
-                isc_throw(db::NoSuchDatabase, "no database found for selector: "
+                isc_throw(db::NoSuchDatabase, "no such database found for selector: "
                           << backend_selector.toText());
             }
         }
@@ -364,11 +364,11 @@ protected:
                                            Args... input) {
         auto backends = selectBackends(backend_selector);
         if (backends.empty()) {
-            isc_throw(db::NoSuchDatabase, "no database found for selector: "
+            isc_throw(db::NoSuchDatabase, "no such database found for selector: "
                       << backend_selector.toText());
 
         } else if (backends.size() > 1) {
-            isc_throw(db::AmbiguousDatabase, "more than 1 database found for "
+            isc_throw(db::AmbiguousDatabase, "more than one database found for "
                       "selector: " << backend_selector.toText());
         }