Dear kevin, I am conducting a survey about the use of exception handling constructs in C++. I would really appreciate if you could contribute to this research by answering a few questions on the subject. The survey is available on-line: https://pt.surveymonkey.com/s/exceptionHandling All the best, Rodrigo. 2014-06-29 8:47 GMT-03:00 Kevin Krammer : > 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 > > >>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<