summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2014-10-31 19:22:18 +0100
committerDavid Wagner <david.wagner@intel.com>2014-10-31 19:22:18 +0100
commit3ada6a2640fab8b988a2d3148efee98df47b3628 (patch)
tree45062524e9dd1a3c994aa09016b1ffd989f14721
parent61e221838cf44e1dfd767d82c5d899f8a55d1330 (diff)
parent78052ff9c41dee5b6b4c5d20c1d77f5ae79626d8 (diff)
downloadexternal_parameter-framework-3ada6a2640fab8b988a2d3148efee98df47b3628.zip
external_parameter-framework-3ada6a2640fab8b988a2d3148efee98df47b3628.tar.gz
external_parameter-framework-3ada6a2640fab8b988a2d3148efee98df47b3628.tar.bz2
Merge pull request #23 from 01org/clarify-non-accesibble-error
Clarify the "Non accessible element" error
-rw-r--r--parameter/ConfigurableElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parameter/ConfigurableElement.cpp b/parameter/ConfigurableElement.cpp
index c23c7e9..eb66dd8 100644
--- a/parameter/ConfigurableElement.cpp
+++ b/parameter/ConfigurableElement.cpp
@@ -139,7 +139,7 @@ bool CConfigurableElement::accessValue(CPathNavigator& pathNavigator, std::strin
if (!pStrChildName) {
- parameterAccessContext.setError("Non accessible element");
+ parameterAccessContext.setError((bSet ? "Can't set " : "Can't get ") + pathNavigator.getCurrentPath() + " because it is not a parameter");
return false;
}