[omniORB] Regarding UserException catching Scenario.

Duncan Grisby duncan at grisby.org
Thu Jul 28 13:26:02 BST 2011


On Wed, 2011-07-27 at 00:13 -0700, Ratheesh .R wrote:

> 2)At the server side we have implemented ExecutableDeviceImpl and
> InvalidProcessImpl objects
> 
> and with in the ExecutableDeviceImpl object we have created the
> function terminate () and throwing the UserException as like below , 

Why have you implemented a subclass of the InvalidProcess exception?
You are not meant to do that in the C++ language mapping. You are meant
to directly use the InvalidProcess class that omniidl generated. The
problem you are seeing is probably due to that.

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list