[omniORB] changing CORBA interface

Michael omniorb at bindone.de
Sun Dec 16 14:10:35 GMT 2007


Michael Kilburn wrote:
> On Dec 16, 2007 6:17 PM, Michael <omniorb at bindone.de> wrote:
> 
>> Michael Kilburn wrote:
>>> What kind of changes are allowed to idl interface? In my situation I
>> have to
>>> change server's interface:
>>> - adding new entry to some methods' throw-specification
>> Clients that use this method need to be aware of the new raises
>> specification
>> (of course, if the exception is never thrown it shouldn't matter - but I
>> assume you have a
>> reason to add the new exception)
>>
> 
> Hmm... and what happens if client compiled with old idl file gets an
> exception that appeared in new idl file?
> 

That may depend on the ORB implementation, I would assume you'll get a CORBA system
exception (maybe MARSHAL). I would suggest that you test this with your actual
implementations and in general I would try to avoid changing signatures on the server side
only.



More information about the omniORB-list mailing list