summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-04-19 14:54:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-04-19 15:13:46 +0200
commit0d85d88ee1a434687db9b67071c961ab000c99ce (patch)
treebbde88786001e7f5151b1807decb1afa40d7f07f /i18npool
parent222b123bd1b31705f236be0f37b24802adcd87a4 (diff)
Improved error reporting
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/transliteration/transliterationImpl.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx
index 440b9d95b859..eae43fdfc225 100644
--- a/i18npool/source/transliteration/transliterationImpl.cxx
+++ b/i18npool/source/transliteration/transliterationImpl.cxx
@@ -629,7 +629,10 @@ void TransliterationImpl::loadBody( OUString &implName, Reference<XExtendedTrans
}
}
}
- throw ERROR;
+ throw RuntimeException(
+ ("cannot find " TRLT_SERVICELNAME_L10N " service implementation named "
+ + implName),
+ Reference< XInterface >());
}
sal_Bool SAL_CALL