std::stringmessage="SkillError 101e: An error occured during the check whether skill '"+skillName+"' is available. The error was: "+ex.what();
std::stringmessage="SkillError 101e: An error occured during the check whether skill '"+skillName+"' is available. The error was: "+GetHandledExceptionString();
std::stringmessage="SkillError 201e: An error occured during the reset of skill '"+skillName+"'. The error was: "+ex.what();
std::stringmessage="SkillError 201e: An error occured during the reset of skill '"+skillName+"'. The error was: "+GetHandledExceptionString();
ARMARX_ERROR_S<<message;
updateStatus(SkillStatus::Failed);
...
...
@@ -116,7 +116,7 @@ namespace armarx
}
catch(conststd::exception&ex)
{
std::stringmessage="SkillError 301e: An error occured during waiting for skill dependencies of skill '"+skillName+"'. The error was: "+ex.what();
std::stringmessage="SkillError 301e: An error occured during waiting for skill dependencies of skill '"+skillName+"'. The error was: "+GetHandledExceptionString();
ARMARX_ERROR_S<<message;
updateStatus(SkillStatus::Failed);
...
...
@@ -143,7 +143,7 @@ namespace armarx
}
catch(conststd::exception&ex)
{
std::stringmessage="SkillError 401e: An error occured during the initialization of skill '"+skillName+"'. The error was: "+ex.what();
std::stringmessage="SkillError 401e: An error occured during the initialization of skill '"+skillName+"'. The error was: "+GetHandledExceptionString();
ARMARX_ERROR_S<<message;
skill->exitSkill({executorName,aron_params});// try to exit skill. Ignore return value
...
...
@@ -174,7 +174,7 @@ namespace armarx
}
catch(conststd::exception&ex)
{
std::stringmessage="SkillError 501e: An error occured during the main method of skill '"+skillName+"'. The error was: "+ex.what();
std::stringmessage="SkillError 501e: An error occured during the main method of skill '"+skillName+"'. The error was: "+GetHandledExceptionString();
ARMARX_ERROR_S<<message;
skill->exitSkill({executorName,aron_params});// try to exit skill. Ignore return value
...
...
@@ -199,7 +199,7 @@ namespace armarx
}
catch(conststd::exception&ex)
{
std::stringmessage="SkillError 601e: An error occured during the exit method of skill '"+skillName+"'. The error was: "+ex.what();
std::stringmessage="SkillError 601e: An error occured during the exit method of skill '"+skillName+"'. The error was: "+GetHandledExceptionString();