From 4f1e3dd278d6c65b8b1b198562d1649bad79622b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mesut=20=C3=87ifci?= Date: Tue, 28 Jan 2020 20:52:50 +0300 Subject: [PATCH] tdf#42982: improve UNO API error reportings Change-Id: I5a5df811562da1aafecb0057bcfe888f92f7b887 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87652 Tested-by: Jenkins Reviewed-by: Michael Stahl --- scaddins/source/analysis/analysis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx index 36c1356487f1..2669a00c2633 100644 --- a/scaddins/source/analysis/analysis.cxx +++ b/scaddins/source/analysis/analysis.cxx @@ -563,7 +563,7 @@ double SAL_CALL AnalysisAddIn::getSeriessum( double fX, double fN, double fM, co // #i32269# 0^0 is undefined, Excel returns #NUM! error if( fX == 0.0 && fN == 0 ) - throw uno::RuntimeException(); + throw uno::RuntimeException("undefined expression: 0^0"); if( fX != 0.0 ) {