RE: use of DBG_UNHANDLED_EXCEPTION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux