Re: [Fwd: Re: Throwing exceptions]
- From: Frank Rehberger <Frank Rehberger web de>
- To: Jules Colding <JuBColding yorkref com>
- Cc: orbit-list gnome org
- Subject: Re: [Fwd: Re: Throwing exceptions]
- Date: Wed, 28 May 2003 15:55:25 +0200
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]