Re: omniORBpy actions on missing servant method

Duncan Grisby via omniORB-list <[email protected]> Mon, 04 Jan 2021 18:20:18 +0000
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <[email protected]>
On Sun, 2021-01-03 at 07:50 -0600, Jim Bell via omniORB-list wrote:
> When the orb encounters a servant that's missing a method, I see it
> puts this on stderr:
>  
> > omniORB: (50) 2021-01-03 07:32:20.582000: Python servant for
> > `A:B/C:1.0' has no method named `D'.
> I'd like to build unit tests that fail on this condition, though.
> So can I hook something to determine this?

The caller will get a CORBA.NO_IMPLEMENT exception. Can you catch that
in your tests?  Or do you need something on the server side?

Duncan.

-- 
 -- Duncan Grisby         --
  -- [email protected]     --
   -- http://www.grisby.org --



_______________________________________________
omniORB-list mailing list
[email protected]
https://www.omniorb-support.com/mailman/listinfo/omniorb-list