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:
@@ -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_);
|
||||||
|
@@ -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_);
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user