On Saturday, 2014-06-28, 08:52:53, Rodrigo Bonifacio wrote:
> Dear all, is there any code guideline that recommends developers to avoid
> the use of exception handling mechanisms in KDE applications?

This is primarily a result of Qt only being partially exception safe:
http://qt-project.org/doc/qt-5/exceptionsafety.html

It is probably not documented separately again on KDE's side.

You can always use exceptions if you make sure they never leave your code into 
Qt's code, e.g. catch them in slots so they don't get into the signal/slot 
code.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message part.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to