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
This commit is contained in:
Tor Lillqvist 2016-08-05 14:47:32 +03:00
parent 336a9ec1c4
commit 36d65037e7

View file

@ -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;