From kde-devel Sun Jun 29 11:47:30 2014 From: Kevin Krammer Date: Sun, 29 Jun 2014 11:47:30 +0000 To: kde-devel Subject: Re: code convention Message-Id: <2525504.Qd562HRRsn () persephone> X-MARC-Message: https://marc.info/?l=kde-devel&m=140404251511146 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============3619600696441905451==" --===============3619600696441905451== Content-Type: multipart/signed; boundary="nextPart19509888.KfhBNxOT1K"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart19509888.KfhBNxOT1K Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Saturday, 2014-06-28, 08:52:53, Rodrigo Bonifacio wrote: > Dear all, is there any code guideline that recommends developers to a= void > 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 co= de into=20 Qt's code, e.g. catch them in slots so they don't get into the signal/s= lot=20 code. Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart19509888.KfhBNxOT1K Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iD8DBQBTr/zSnKMhG6pzZJIRAoUUAJ9c6d9uohcZsJuorD07OSC7oqRvCwCeKckB EAy5eDeAlHhPPBl18dfuQpQ= =DxX+ -----END PGP SIGNATURE----- --nextPart19509888.KfhBNxOT1K-- --===============3619600696441905451== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============3619600696441905451==--