summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-08 11:20:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-08 12:12:00 +0100
commit9d4ed5737f2c6f73b02e5878cd3f8cc013443b34 (patch)
tree8e5e68f824243de386c217f884eec1c9563b22f9 /cui
parent7f96d6d5b6dfcb3970fefaca74f004fad071297e (diff)
don't make reason for exception a mystery
Change-Id: I3a3a2273dc0f97931dd6ddfd9492d5a883448aa3
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/treeopt.cxx8
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);
}
}