[omniORB] Regarding UserException catching Scenario.

Ratheesh .R ratheeshr_2006 at yahoo.com
Fri Jul 29 05:33:27 BST 2011


Hello Duncan,



Thanks Duncan , with your valuable
information I have been able to complete successfully the exception
evaluation with omniORB .With this exercise I could convey about the
powerfulness of the omniORB product and your excellent support to our
higher project management .






Thanks
Ratheesh














--- On Thu, 7/28/11, Duncan Grisby <duncan at grisby.org> wrote:

From: Duncan Grisby <duncan at grisby.org>
Subject: Re: [omniORB] Regarding UserException catching Scenario.
To: "Brian Neal" <bgneal at gmail.com>
Cc: "Ratheesh .R" <ratheeshr_2006 at yahoo.com>, "omniorb-list at omniorb-support.com" <omniorb-list at omniorb-support.com>, deepapp at cdactvm.in, ratheeshr at cdactvm.in, susanj at cdactvm.in
Date: Thursday, July 28, 2011, 8:09 PM

On Thu, 2011-07-28 at 09:28 -0500, Brian Neal wrote:

[...]
> > But in a scenario, where we want to add some additional methods such
> > as to print the entire set of array of error messages like
> > stringsequence of error message then how can we do that ?

> You don't need to add a "method".  You can just write a free function.
> It would be reusable for other uses as well. 

Indeed. A free function also has the advantage that it will work on the
client side when it catches an exception. Messing around with the class
thrown by the server won't change the fact that the client gets the
exception generated by the IDL compiler.

Cheers,

Duncan.

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110729/cbcab902/attachment.htm


More information about the omniORB-list mailing list