Commit b8c0bac0 authored by Francis Dupont's avatar Francis Dupont

[406-update-cb_cmds-with-get-commands] Updated CB exception messages

parent fd0faff6
// 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());
}
......
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