[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Exception handling
From:       Thiago Macieira <thiago () kde ! org>
Date:       2014-01-29 20:38:59
Message-ID: 1875471.o8bh2VTTSo () tjmaciei-mobl2
[Download RAW message or body]


On quarta-feira, 29 de janeiro de 2014 08:03:19, Rodrigo wrote:
> Dear all, analysing the source code of konqueror, I could figure out that
> the exception handling constructs of c++ is not frequently used in the
> project. Is there any recommendation for not using try-catch statements for
> handling errors in the project?

Yes, don't catch exceptions.

We don't use any types that throw exceptions and std::bad_alloc is never 
thrown on a modern system, so there's nothing to be caught.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic