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 <michael.stahl@cib.de>
This commit is contained in:
Mesut Çifci 2020-01-28 20:52:50 +03:00 committed by Michael Stahl
parent f32a59a52e
commit 4f1e3dd278

View file

@ -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 )
{