2 // System.Web.Services.Protocols.SoapException.cs
\r
5 // Tim Coleman (tim@timcoleman.com)
\r
7 // Copyright (C) Tim Coleman, 2002
\r
12 namespace System.Web.Services.Protocols {
\r
13 public class SoapException : SystemException {
\r
17 public static readonly XmlQualifiedName ClientFaultCode = new XmlQualifiedName ("Client", "http://schemas.xmlsoap.org/soap/envelope/");
\r
18 public static readonly XmlQualifiedName DetailElementName = new XmlQualifiedName ("detail");
\r
19 public static readonly XmlQualifiedName MustUnderstandFaultCode = new XmlQualifiedName ("MustUnderstand", "http://schemas.xmlsoap.org/soap/envelope/");
\r
20 public static readonly XmlQualifiedName ServerFaultCode = new XmlQualifiedName ("Server", "http://schemas.xmlsoap.org/soap/envelope/");
\r
21 public static readonly XmlQualifiedName VersionMismatchFaultCode = new XmlQualifiedName ("VersionMismatch", "http://schemas.xmlsoap.org/soap/envelope/");
\r
24 XmlQualifiedName code;
\r
29 #region Constructors
\r
31 public SoapException (string message, XmlQualifiedName code)
\r
36 public SoapException (string message, XmlQualifiedName code, Exception innerException)
\r
37 : this (message, code)
\r
41 public SoapException (string message, XmlQualifiedName code, string actor)
\r
42 : this (message, code)
\r
47 public SoapException (string message, XmlQualifiedName code, string actor, Exception innerException)
\r
48 : this (message, code, actor)
\r
52 public SoapException (string message, XmlQualifiedName code, string actor, XmlNode detail)
\r
53 : this (message, code, actor)
\r
55 this.detail = detail;
\r
58 public SoapException (string message, XmlQualifiedName code, string actor, XmlNode detail, Exception innerException)
\r
59 : this (message, code, actor, detail)
\r
63 #endregion // Constructors
\r
67 public string Actor {
\r
68 get { return actor; }
\r
71 public XmlQualifiedName Code {
\r
72 get { return code; }
\r
75 public XmlNode Detail {
\r
76 get { return detail; }
\r
79 #endregion // Properties
\r