[omniORB] omniORBpy actions on missing servant method

Duncan Grisby duncan at grisby.org
Mon Jan 4 18:20:18 UTC 2021


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         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list