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

List:       kde-devel
Subject:    Re: CORBA on kde-core-devel
From:       Bavo De Ridder <bavo.deridder () cs ! kuleuven ! ac ! be>
Date:       1999-09-17 19:18:15
[Download RAW message or body]

On Fri, 17 Sep 1999, Martin Konold wrote:
>On Fri, 17 Sep 1999, Matthias Elter wrote:
>
>> That may be true, but what do you suggest? A buggy CORBA component running in a
>> seperate process is not much better as you can't try/catch every CORBA call.
>> Server dies -> object is nil -> MICO exception -> main app crashes!
>
>The big difference is imho that a broken seperate process does not so
>easily corrupt the address space of OTHER components. IMHO such errors are
>often hard to catch. A buggy shlib can easily work but damage other parts
>without notice.
>

A simple division by zero in a shared lib can bring down an entire application. 

On the other hand, calling a function without catching any possible exceptions
(in the CORBA way of doing things) is also plain stupid. Catching exceptions,
even when it does implie a lot of work, at least gives you a chance to
gracefully respond to such errors.


BDR

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

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