Re: ORBit2 and checking CORBA_Environent's
- From: Martin Baulig <martin home-of-linux org>
- To: Owen Taylor <otaylor redhat com>
- Cc: gnome-components-list gnome org, michael ximian com
- Subject: Re: ORBit2 and checking CORBA_Environent's
- Date: 22 Jul 2001 23:32:58 +0200
Owen Taylor <otaylor redhat com> writes:
> My understanding (from memory) is that the return value should
> be completely ignored by the skeleton if an exception is thrown.
> Certainly a CORBA method that throws an object is not allowed
> to return a value as well ... this would be completely
> incompatible with all languages with real exceptions.
>
> (Also, there is no marshalling of return values over the
> wire when an exception is thrown.)
That's also what I had in memory, but it's not what the current code
does. It tries to free the returned value and thus crashes.
> In the above suggestion, I was really suggesting that the stub should
> return 0xbad, if an exception is thrown, not the individual server
> side functions.
Yes, good idea.
--
Martin Baulig
martin gnome org (private)
baulig suse de (work)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]