<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Server Exception Handling</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Server Exception Handling</description>
  <pubDate>Mon, 13 Apr 2026 08:08:23 -700</pubDate>
  <lastBuildDate>Fri, 14 Jan 2011 12:50:21 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2440</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Server Exception Handling : In testing this out some more,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2440&amp;PID=9654#9654</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2440<br /><strong>Posted:</strong> 14-Jan-2011 at 12:50pm<br /><br />In testing this out some more, it appears that any unhandled exception during the RPC gets returned back to the Client as an InvokeServerMethodOperation.Error which is what I was looking for.<DIV>&nbsp;</DIV><DIV>Greg</DIV>]]>
   </description>
   <pubDate>Fri, 14 Jan 2011 12:50:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2440&amp;PID=9654#9654</guid>
  </item> 
  <item>
   <title>Server Exception Handling : In WCF Ria Services, there is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2440&amp;PID=9652#9652</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2440<br /><strong>Posted:</strong> 14-Jan-2011 at 8:41am<br /><br />In WCF Ria Services, there is an exception type called DomainException() that can be used to pass Exceptions back across the wire to the client where it can be retrieved in Operation.Error.<DIV>&nbsp;</DIV><DIV>Is there a similiar Exception class for DevForce?</DIV><DIV>&nbsp;</DIV><DIV>For example:</DIV><DIV>&nbsp;</DIV><DIV><PRE style="FONT-FAMILY: c&#111;nsolas">&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">static</SPAN>&nbsp;<SPAN style="COLOR: blue">class</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">MailService</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#091;<SPAN style="COLOR: #2b91af">AllowRpc</SPAN>&#093;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">static</SPAN>&nbsp;<SPAN style="COLOR: blue">object</SPAN>&nbsp;GetNewMail(<SPAN style="COLOR: #2b91af">IPrincipal</SPAN>&nbsp;pPrincipal,&nbsp;<SPAN style="COLOR: #2b91af">EntityManager</SPAN>&nbsp;pPm,&nbsp;<SPAN style="COLOR: blue">params</SPAN>&nbsp;<SPAN style="COLOR: #2b91af">Object</SPAN>&#091;&#093;&nbsp;pArgs&nbsp;)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: green">//There&nbsp;is&nbsp;a&nbsp;problem&nbsp;retrieving&nbsp;new&nbsp;mail,&nbsp;so&nbsp;return&nbsp;an&nbsp;exception&nbsp;to&nbsp;the&nbsp;client.</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">return</SPAN>&nbsp;<SPAN style="COLOR: #a31515">"Got&nbsp;Mail"</SPAN>;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR> <BR>&nbsp;&nbsp;&nbsp;&nbsp;}</PRE><PRE style="FONT-FAMILY: c&#111;nsolas">&nbsp;</PRE></DIV>]]>
   </description>
   <pubDate>Fri, 14 Jan 2011 08:41:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2440&amp;PID=9652#9652</guid>
  </item> 
 </channel>
</rss>