[DEBUG] remove android warning
This commit is contained in:
parent
b25b660728
commit
94c5a4acce
@ -154,11 +154,6 @@ namespace zeus {
|
||||
try {
|
||||
// execute cmd:
|
||||
zeus::executeClassCall(_interfaceClient, _obj, tmpClass, m_function);
|
||||
} catch (const std::logic_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "LOGIC-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::invalid_argument& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "INVALID-ARGUMENT", eee.what());
|
||||
@ -179,11 +174,6 @@ namespace zeus {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "OUT-OF-RANGE", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::runtime_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "RUNTIME-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::range_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "RANGE-ERROR", eee.what());
|
||||
@ -199,6 +189,16 @@ namespace zeus {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "UNDERFLOW-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::logic_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "LOGIC-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::runtime_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "RUNTIME-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch ( ... ) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "?-ERROR", "catch unknow error");
|
||||
|
@ -142,11 +142,6 @@ namespace zeus {
|
||||
try {
|
||||
// execute cmd:
|
||||
zeus::executeCall(_interfaceClient, _obj, m_function);
|
||||
} catch (const std::logic_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "LOGIC-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::invalid_argument& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "INVALID-ARGUMENT", eee.what());
|
||||
@ -167,11 +162,6 @@ namespace zeus {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "OUT-OF-RANGE", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::runtime_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "RUNTIME-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::range_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "RANGE-ERROR", eee.what());
|
||||
@ -187,6 +177,16 @@ namespace zeus {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "UNDERFLOW-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::logic_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "LOGIC-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch (const std::runtime_error& eee) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "RUNTIME-ERROR", eee.what());
|
||||
return true;
|
||||
});
|
||||
} catch ( ... ) {
|
||||
_interfaceClient->addAsync([=](WebServer* _interface) {
|
||||
_interface->answerError(_obj->getTransactionId(), _obj->getDestination(), _obj->getSource(), "?-ERROR", "catch unknow error");
|
||||
|
Loading…
x
Reference in New Issue
Block a user