diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 16:46:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 16:46:13 +0200 |
commit | 30a2355f5203f31d8452e92ee18d5d245c1b826f (patch) | |
tree | 2bec420670e278f7cd14631c42eb94a93f2dc8c9 /desktop | |
parent | f14cedc4fd7ba784da3f7ca067a1af18b758e368 (diff) |
Improve exception message
Change-Id: Idce206e0ddebbc9398297f15999579a71f9401c9
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/dp_backend.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index 3627a9dd8ddf..720e8abf005c 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -635,10 +635,10 @@ beans::Optional< beans::Ambiguous<sal_Bool> > Package::isRegistered( catch (const deployment::DeploymentException &) { throw; } - catch (const Exception &) { + catch (const Exception & e) { Any exc( ::cppu::getCaughtException() ); throw deployment::DeploymentException( - "unexpected exception occurred!", + "unexpected " + exc.getValueTypeName() + ": " + e.Message, static_cast<OWeakObject *>(this), exc ); } } |