Re: [Fwd: Re: Throwing exceptions]



Jules Colding wrote:

>I can see that you are returning NULL in your
>impl_PostOffice_Counter_fetch_letter_for() method when something goes
>wrong. 
>

>I just noticed that the method return "struct Letter" (the IDL type),
>not an interface. So shouldn't you return a valid pointer to
>PostOffice_Letter even though that you have thrown an exception?
>
>  
>
AFAIK, if operation throws exception the POA-manager (object manager) 
should not care about return value.

Cheers, Frank





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