mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
FairMQ: Move static and interactive control modes to plugin (3)
This commit is contained in:
committed by
Mohammad Al-Turany
parent
01327426c3
commit
7dcd09692c
@@ -100,8 +100,8 @@ auto PluginServices::ChangeDeviceState(const std::string& controller, const Devi
|
||||
else
|
||||
{
|
||||
throw DeviceControlError{tools::ToString(
|
||||
"Plugin ", controller, " is not allowed to change device states. ",
|
||||
"Currently, plugin ", fDeviceController, " has taken control."
|
||||
"Plugin '", controller, "' is not allowed to change device states. ",
|
||||
"Currently, plugin '", fDeviceController, "' has taken control."
|
||||
)};
|
||||
}
|
||||
}
|
||||
@@ -121,8 +121,8 @@ auto PluginServices::TakeDeviceControl(const std::string& controller) -> void
|
||||
else
|
||||
{
|
||||
throw DeviceControlError{tools::ToString(
|
||||
"Plugin ", controller, " is not allowed to take over control. ",
|
||||
"Currently, plugin ", fDeviceController, " has taken control."
|
||||
"Plugin '", controller, "' is not allowed to take over control. ",
|
||||
"Currently, plugin '", fDeviceController, "' has taken control."
|
||||
)};
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ auto PluginServices::ReleaseDeviceControl(const std::string& controller) -> void
|
||||
}
|
||||
else
|
||||
{
|
||||
throw DeviceControlError{tools::ToString("Plugin ", controller, " cannot release control because it has not taken over control.")};
|
||||
throw DeviceControlError{tools::ToString("Plugin '", controller, "' cannot release control because it has not taken over control.")};
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user