From bca1b74c0753f2305a5e234293df88aa3e1d9af0 Mon Sep 17 00:00:00 2001 From: Noel Date: Mon, 18 Jan 2021 15:05:18 +0200 Subject: improve some IllegalArgumentException messages Change-Id: Id88f2a82bf2651e8b5895aa330f32b71ff5b0e48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109546 Tested-by: Jenkins Reviewed-by: Noel Grandin --- UnoControls/source/controls/framecontrol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UnoControls') 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(this), 1); } return bReturn; -- cgit