diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-01 09:00:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-01 09:00:17 +0100 |
commit | 5a10e33f4ddc718f05a64629c4133a607ec9b29e (patch) | |
tree | ef8b9b9748f05182c759f07a3376afe0158a56f6 /framework/source | |
parent | 9b629f296732e8da630efe95321d9b1769b17a2f (diff) |
Improve exception messages (for debugging)
Change-Id: Id2e00e0b0363c58c88585dd15f34156e57a7aaac
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/loadenv/loadenv.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index d3b67e9818e9..10c85f625313 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -404,7 +404,8 @@ void LoadEnv::startLoading() // not started => general error // We can't say - what was the reason for. if (!bStarted) - throw LoadEnvException(LoadEnvException::ID_GENERAL_ERROR); + throw LoadEnvException( + LoadEnvException::ID_GENERAL_ERROR, "not started"); } /*----------------------------------------------- @@ -1698,7 +1699,9 @@ void LoadEnv::impl_reactForLoadingState() if (bThrow) { if ( aRequest.isExtractableTo( ::cppu::UnoType< css::uno::Exception >::get() ) ) - throw LoadEnvException( LoadEnvException::ID_GENERAL_ERROR, "", aRequest ); + throw LoadEnvException( + LoadEnvException::ID_GENERAL_ERROR, "interaction request", + aRequest); } // <- SAFE ---------------------------------- |