d88ca254d6bbff0b281920fbf5600b7fb1a04a21
[mono.git] / mcs / class / corlib / System.IO / FileNotFoundException.cs
1 //
2 // System.IO.FileNotFoundException.cs
3 //
4 // Author:
5 //   Paolo Molaro (lupus@ximian.com)
6 //
7 // (C) 2001 Ximian, Inc.  http://www.ximian.com
8 //
9
10 namespace System.IO {
11
12         public class FileNotFoundException : SystemException {
13                 private string _fileName;
14
15                 // Constructors
16                 public FileNotFoundException ()
17                         : base ("File not found")
18                 {
19                 }
20
21                 public FileNotFoundException (string message)
22                         : base (message)
23                 {
24                 }
25
26                 public FileNotFoundException (string message, Exception inner)
27                         : base (message, inner)
28                 {
29                 }
30
31                 public FileNotFoundException (string message, string fileName)
32                         : base (message)
33                 {
34                         _fileName = fileName;
35                 }
36
37                 public string FileName {
38                         get {
39                                 return _fileName;
40                         }
41                 }
42
43                 [MonoTODO]
44                 public string FusionLog {
45                         get {
46                                 // FIXME
47                                 return null;
48                         }
49                 }
50         }
51 }