diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-09-08 11:20:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-09-08 12:12:00 +0100 |
commit | 9d4ed5737f2c6f73b02e5878cd3f8cc013443b34 (patch) | |
tree | 8e5e68f824243de386c217f884eec1c9563b22f9 /cui | |
parent | 7f96d6d5b6dfcb3970fefaca74f004fad071297e (diff) |
don't make reason for exception a mystery
Change-Id: I3a3a2273dc0f97931dd6ddfd9492d5a883448aa3
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/treeopt.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index d7293b8bb1b5..292a5ee86de3 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -2250,13 +2250,13 @@ void ExtensionsTabPage::CreateDialogWithHandler() } } } - catch ( ::com::sun::star::lang::IllegalArgumentException& ) + catch (const css::lang::IllegalArgumentException& e) { - SAL_WARN( "cui.options", "ExtensionsTabPage::CreateDialogWithHandler(): illegal argument" ); + SAL_WARN("cui.options", "ExtensionsTabPage::CreateDialogWithHandler(): illegal argument:" << e.Message); } - catch ( Exception& ) + catch (const Exception& e) { - SAL_WARN( "cui.options", "ExtensionsTabPage::CreateDialogWithHandler(): exception of XDialogProvider2::createDialogWithHandler()" ); + SAL_WARN( "cui.options", "ExtensionsTabPage::CreateDialogWithHandler(): exception of XDialogProvider2::createDialogWithHandler(): " << e.Message); } } |