use of DBG_UNHANDLED_EXCEPTION

Winfried Donkers Winfried.Donkers at dekimo.com
Fri Apr 5 09:11:40 UTC 2019


Hi Noel,

>> just as you used it in stoc/test/testconv.cxx (and 3 other files in stoc/test).

> I don't think the code in those files stoc/test files are even compiled as part of 
> our build, certainly that style of code doesn't work anymore.

> The way to use the DBG_UNHANDLED_EXCEPTION macro (on current master), is just like this:
> 	catch (const uno::Exception& )
>          {
>             DBG_UNHANDLED_EXCEPTION("basctl.basicide");
>          }

> i.e. it only takes one parameter, which is the SAL log area for that code, and it captures the current exception itself.

That helps, thank you.

Winfried



More information about the LibreOffice mailing list