2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web / HttpParseException.cs
1 // \r
2 // System.Web.HttpParseException.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 namespace System.Web {\r
11         public sealed class HttpParseException : HttpException {\r
12 \r
13                 #region Fields\r
14                 \r
15                 string fileName;\r
16                 int line;\r
17 \r
18                 #endregion // Fields\r
19 \r
20                 #region Constructors\r
21 \r
22                 [MonoTODO ("Figure out what to do with this.")]\r
23                 internal HttpParseException (string message, Exception innerException, string sourceCode, string fileName, int line)\r
24                         : base (message, innerException)\r
25                 {\r
26                         this.fileName = fileName;\r
27                         this.line = line;\r
28                 }\r
29 \r
30                 #endregion // Constructors\r
31 \r
32                 #region Properties\r
33 \r
34                 public string FileName {\r
35                         get { return fileName; }\r
36                 }\r
37 \r
38                 public int Line {\r
39                         get { return line; }\r
40                 }\r
41 \r
42                 #endregion // Properties\r
43         }\r
44 }\r