dao.getHandle(),
&policyResult);
if (ACE_OK != ret) {
- ThrowMsg(Exceptions::NotAllowed, "Instalation failure. "
+ ThrowMsg(Exceptions::AceCheckFailed, "Instalation failure. "
"ACE check failure");
}
ace_return_t ret = ace_set_requested_dev_caps(dao.getHandle(),
&list);
if (ACE_OK != ret) {
- ThrowMsg(Exceptions::NotAllowed, "Instalation failure. "
+ ThrowMsg(Exceptions::AceCheckFailed, "Instalation failure. "
"ACE failure");
}
delete[] list.items;
if (ACE_OK != ret) {
LogError("Error in ace_set_feature");
- ThrowMsg(Exceptions::NotAllowed, "Instalation failure. "
+ ThrowMsg(Exceptions::AceCheckFailed, "Instalation failure. "
"ace_set_feature failure.");
}
return;
if (m_context.featureLogic->isRejected()) {
LogError("Installation failure. Some devCap was not accepted by ACE.");
ThrowMsg(
- Exceptions::NotAllowed,
+ Exceptions::AceCheckFailed,
"Instalation failure. "
"Some deviceCap was not accepted by ACE.");
}