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

List:       kde-devel
Subject:    Re: CORBA on kde-core-devel
From:       Lotzi Boloni <boloni () cs ! purdue ! edu>
Date:       1999-09-17 18:17:51
[Download RAW message or body]

> >   There is a performance penalty but I don't think that matters. Memory is
> > awfully cheap nowadays, processors are fast. Let's make it very solid and
> > fault tolerant. 
> > 
> >   I don't know how much this counts but I vote for the networked model. 
> 
> You _can_ put every CORBA call in try/catch blocks but thats not a practical
> solution IMO.

  I would do for something like

CBEG corba call CEND

#ifdef FAILSAFE
#  define CBEG try{
#  define CEND } catch(...) and the rest
#else
#  define CBEG
#  define CEND
#endif

  This would serve well during development time and then it might be
gradually reduced. I've done this for AT&T - there were other reasons too,
the code had to work with 4 CORBA implementations and all have different
exceptions. 

      Lotzi

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

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