2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / corlib / System.IO / DirectoryNotFoundException.cs
1 //
2 // System.IO.DirectoryNotFoundException.cs
3 //
4 // Author:
5 //   Paolo Molaro (lupus@ximian.com)
6 //
7 // (C) 2001 Ximian, Inc.  http://www.ximian.com
8 //
9
10 using System.Runtime.Serialization;
11
12 namespace System.IO {
13
14         [Serializable]
15         public class DirectoryNotFoundException : IOException {
16                 
17                 // Constructors
18                 public DirectoryNotFoundException ()
19                         : base ("Directory not found")
20                 {
21                 }
22
23                 public DirectoryNotFoundException (string message)
24                         : base (message)
25                 {
26                 }
27
28                 public DirectoryNotFoundException (string message, Exception inner)
29                         : base (message, inner)
30                 {
31                 }
32
33                 protected DirectoryNotFoundException (SerializationInfo info, StreamingContext context)
34                         : base (info, context)
35                 {
36                 }
37         }
38 }