[Qt5-feedback] Qt5 and C++ exception

Thiago Macieira thiago at kde.org
Mon Jun 27 10:59:30 CEST 2011


Em Monday, 27 de June de 2011, às 12:45:48, Дмитрий Б. escreveu:
> Not really. My understanding that for such situations Qt must have the
> default exception's handler.  THis handler for example simply displays a
> message in QMessageBox. This way it is implemented in VCL-Delphi or in the
> .NET as i know. Wrap all calls that generate exceptions does not make sense
> (just defeats the purpose of an exceptions).

The default handler can only do one thing: crash the application.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110627/b3bf0a72/attachment.bin 


More information about the Qt5-feedback mailing list