2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[#642,!373] Adjusted exceptions' text in the mysql_cb.

Per review comments.
This commit is contained in:
Marcin Siodelski
2019-06-27 20:50:07 +02:00
parent 77742cdc9d
commit 24e9c24f24
3 changed files with 3 additions and 3 deletions

View File

@@ -1905,7 +1905,7 @@ public:
if (server_tag.amAll()) { if (server_tag.amAll()) {
isc_throw(InvalidOperation, "'all' is a name reserved for the server tag which" isc_throw(InvalidOperation, "'all' is a name reserved for the server tag which"
" associates the configuration elements with all servers connecting" " associates the configuration elements with all servers connecting"
" to the database and can't be deleted"); " to the database and may not be deleted");
} }
MySqlTransaction transaction(conn_); MySqlTransaction transaction(conn_);

View File

@@ -2219,7 +2219,7 @@ public:
if (server_tag.amAll()) { if (server_tag.amAll()) {
isc_throw(InvalidOperation, "'all' is a name reserved for the server tag which" isc_throw(InvalidOperation, "'all' is a name reserved for the server tag which"
" associates the configuration elements with all servers connecting" " associates the configuration elements with all servers connecting"
" to the database and can't be deleted"); " to the database and may not be deleted");
} }
MySqlTransaction transaction(conn_); MySqlTransaction transaction(conn_);

View File

@@ -938,7 +938,7 @@ MySqlConfigBackendImpl::createUpdateServer(const int& create_audit_revision,
if (server->getServerTag().amAll()) { if (server->getServerTag().amAll()) {
isc_throw(InvalidOperation, "'all' is a name reserved for the server tag which" isc_throw(InvalidOperation, "'all' is a name reserved for the server tag which"
" associates the configuration elements with all servers connecting" " associates the configuration elements with all servers connecting"
" to the database and a server with this name can't be created"); " to the database and a server with this name nay not be created");
} }
// Create scoped audit revision. As long as this instance exists // Create scoped audit revision. As long as this instance exists