summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-05 14:47:32 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-05 15:26:04 +0300
commit36d65037e7b5ac4ee6452430296b2ae8893ae366 (patch)
treeb28ed6d23e5be2e6824e61b22d609593f780a1d5
parent336a9ec1c4801ab57264b264ead90e5c14451230 (diff)
Tell where the colon is missing in the exception message
But sure, it would be surprising if the message was actually displayed even if the exception is caught and causes some failure somewhere... (See previous commit.) Change-Id: I7375b869d08a465d9720a619d5ef49a77c4782e5
-rw-r--r--configmgr/source/components.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 0b8e5f608989..b401197f7026 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -488,7 +488,7 @@ Components::Components(
for (;; ++c) {
if (c == conf.getLength() || conf[c] == ' ') {
throw css::uno::RuntimeException(
- "CONFIGURATION_LAYERS: missing \":\"");
+ "CONFIGURATION_LAYERS: missing ':' in \"" + conf + "\"");
}
if (conf[c] == ':') {
break;