/[dgee]/dgee/cslib/DotGNU/DGEE/Protocols/XmlRpc/XmlRpcErrorHandler.cs
ViewVC logotype

Diff of /dgee/cslib/DotGNU/DGEE/Protocols/XmlRpc/XmlRpcErrorHandler.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.4 by npg, Tue Jul 8 17:36:54 2003 UTC revision 1.1.2.4.2.1 by npg, Wed Jul 23 11:26:00 2003 UTC
# Line 23  Line 23 
23   *   *
24   * Authors:   * Authors:
25   *   Nicolai P Guba   *   Nicolai P Guba
  *   Chris Smith  
26   */   */
27    using DotGNU.XmlRpc;
28    
29  namespace DotGNU.DGEE.Protocols.XmlRpc  namespace DotGNU.DGEE.Protocols.XmlRpc
30  {  {
   using System;  
   using System.Text;  
   using DotGNU.XmlRpc;  
   
31    /// <summary>    /// <summary>
32    ///   Error Handler for the XmlRpc Web Service Protocol    ///   Error Handler for the XmlRpc Web Service Protocol
33    /// </summary>    /// </summary>
34    ///    ///
35    class XmlRpcErrorHandler: IWebServiceErrorHandler    class XmlRpcErrorHandler: IWebServiceErrorHandler
36    {    {
     StringBuilder buf;  
   
37      public String GetError( Exception e )      public String GetError( Exception e )
38      {      {
39        XmlRpcException ex = (XmlRpcException)e;        XmlRpcException ex = (XmlRpcException)e;
40          return ex.ToString();
       buf = new StringBuilder();  
       buf.Append ("Error");  
       return buf.ToString();  
41      }      }
42    }    }
43  }  }

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.4.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26