Re: Adding Bonobo::GeneralError exception to Bonobo::Moniker::resolve ?



On Wed, 2001-08-29 at 11:47, Martin Baulig wrote:
> Hi Michael,
> 
> can we add a Bonobo::GeneralError exception or anything equivalent to
> the Bonobo::Moniker::resolve method ?
> 
> I need this for my ditem moniker and it may be useful for the other config
> monikers as well - when reading the file fails, I want to return an error
> message rather than just returning CORBA_OBJECT_NIL.

this makes sense - sometimes the component can't be activated, and the
only exception you can return is interface not found (which is quite
different).

i almost think that all exceptions would want to have an error message. 
i can't really think of a reason not to have this (other than lazy
hackers[1]).



jacob
-- 
"OOH!!!  Look at me!!  I'm Jacob Berkman!  I have a witty .signature
 that nobody fully appreciates but myself!!"  -- Anonymous


[1] i myself am most definitely lazy




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]