diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-01-18 15:05:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-20 09:03:45 +0100 |
commit | bca1b74c0753f2305a5e234293df88aa3e1d9af0 (patch) | |
tree | 16732572c6e15dbd5a2f4e50a2451efc836e3a2d /UnoControls | |
parent | tdf#123285: sw_uiwriter3: Add unittest (diff) | |
download | core-bca1b74c0753f2305a5e234293df88aa3e1d9af0.tar.gz core-bca1b74c0753f2305a5e234293df88aa3e1d9af0.zip |
improve some IllegalArgumentException messages
Change-Id: Id88f2a82bf2651e8b5895aa330f32b71ff5b0e48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109546
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/source/controls/framecontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx index 8ecc73cf2d1a..ddfa693a654b 100644 --- a/UnoControls/source/controls/framecontrol.cxx +++ b/UnoControls/source/controls/framecontrol.cxx @@ -275,7 +275,7 @@ sal_Bool FrameControl::convertFastPropertyValue( Any& rConvertedVa if ( !bReturn ) { - throw IllegalArgumentException(); + throw IllegalArgumentException("unknown handle " + OUString::number(nHandle), static_cast<cppu::OWeakObject*>(this), 1); } return bReturn; |