<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><p style="margin-bottom: 0in;"><font face="Arial" size="2">Hi Duncan,</font></p><p style="MARGIN-BOTTOM: 0in"><font face="Arial" size="2"><br></font></p>
<p style="margin-bottom: 0in;"><font face="Arial" size="2">Yes Duncan you are right 
,you Spot it correctly ,that was the real problem. Thanks for your support that 
was good enough to resolve the problem.</font></p><p style="MARGIN-BOTTOM: 0in"><font face="Arial" size="2"><br></font></p>
<p style="margin-bottom: 0in;"><font face="Arial" size="2">But in a scenario, 
<strong>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</strong> 
then how can we do that ?</font></p><p style="MARGIN-BOTTOM: 0in"><font face="Arial" size="2"><br></font></p>
<p style="margin-bottom: 0in;"><font face="Arial" size="2">For that purpose we tried 
with a child class of <strong>InvalidProcessImpl</strong> inherited from the 
<strong>InvalidProcess</strong> </font><font face="Arial" size="2">class and 
included the additional method in it to print the array of messages and thrown 
that instance.</font></p><p style="MARGIN-BOTTOM: 0in"><font face="Arial" size="2"><br></font></p>
<p style="MARGIN-BOTTOM: 0in"><font face="Arial" size="2">Please suggest me what I 
need to do in such kind of scenario ,where I need to add additional method to 
display the entire set of array of messages with in one function at exception 
class <strong>...?</strong></font></p>
<p style="MARGIN-BOTTOM: 0in"><font face="Arial"><br></font></p>
<p style="MARGIN-BOTTOM: 0in"><font face="Arial" size="2">Thanks</font></p>
<p style="MARGIN-BOTTOM: 0in"><font face="Arial" size="2">Ratheesh</font></p><br><br>--- On <b>Thu, 7/28/11, Duncan Grisby <i>&lt;duncan@grisby.org&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Duncan Grisby &lt;duncan@grisby.org&gt;<br>Subject: Re: [omniORB] Regarding UserException catching Scenario.<br>To: "Ratheesh .R" &lt;ratheeshr_2006@yahoo.com&gt;<br>Cc: "omniorb-list@omniorb-support.com" &lt;omniorb-list@omniorb-support.com&gt;, deepapp@cdactvm.in, ratheeshr@cdactvm.in, susanj@cdactvm.in<br>Date: Thursday, July 28, 2011, 4:56 PM<br><br><div class="plainMail">On Wed, 2011-07-27 at 00:13 -0700, Ratheesh .R wrote:<br><br>&gt; 2)At the server side we have implemented ExecutableDeviceImpl and<br>&gt; InvalidProcessImpl objects<br>&gt; <br>&gt; and with in the ExecutableDeviceImpl object we have created the<br>&gt; function terminate () and throwing the UserException as
 like below , <br><br>Why have you implemented a subclass of the InvalidProcess exception?<br>You are not meant to do that in the C++ language mapping. You are meant<br>to directly use the InvalidProcess class that omniidl generated. The<br>problem you are seeing is probably due to that.<br><br>Duncan.<br><br>-- <br> -- Duncan Grisby&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;--<br>&nbsp; -- <a ymailto="mailto:duncan@grisby.org" href="/mc/compose?to=duncan@grisby.org">duncan@grisby.org</a>&nbsp; &nbsp;&nbsp;&nbsp;--<br>&nbsp;&nbsp;&nbsp;-- <a href="http://www.grisby.org" target="_blank">http://www.grisby.org</a> --<br><br><br></div></blockquote></td></tr></table>