2002-07-22 Tim Coleman <tim@timcoleman.com>
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Protocols / SoapHeaderException.cs
1 // \r
2 // System.Web.Services.Protocols.SoapHeaderException.cs\r
3 //\r
4 // Author:\r
5 //   Tim Coleman (tim@timcoleman.com)\r
6 //\r
7 // Copyright (C) Tim Coleman, 2002\r
8 //\r
9 \r
10 using System.Xml;\r
11 \r
12 namespace System.Web.Services.Protocols {\r
13         public class SoapHeaderException : SoapException {\r
14 \r
15                 #region Constructors\r
16 \r
17                 public SoapException (string message, XmlQualifiedName code)\r
18                         : base (message, code)\r
19                 {\r
20                         this.code = code;\r
21                 }\r
22 \r
23                 public SoapException (string message, XmlQualifiedName code, Exception innerException)\r
24                         : this (message, code)\r
25                 {\r
26                 }\r
27 \r
28                 public SoapException (string message, XmlQualifiedName code, string actor)\r
29                         : this (message, code)\r
30                 {\r
31                         this.actor = actor;\r
32                 }\r
33 \r
34                 public SoapException (string message, XmlQualifiedName code, string actor, Exception innerException)\r
35                         : this (message, code, actor)\r
36                 {\r
37                 }\r
38 \r
39                 #endregion // Constructors\r
40         }\r
41 }\r