using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System.IO { /// The exception that is thrown when part of a file or directory cannot be found. /// 2 // Token: 0x020001AC RID: 428 [ComVisible(true)] [Serializable] public class DirectoryNotFoundException : IOException { /// Initializes a new instance of the class with its message string set to a system-supplied message and its HRESULT set to COR_E_DIRECTORYNOTFOUND. // Token: 0x06001614 RID: 5652 RVA: 0x00055158 File Offset: 0x00053358 public DirectoryNotFoundException() : base("Directory not found") { } /// Initializes a new instance of the class with its message string set to and its HRESULT set to COR_E_DIRECTORYNOTFOUND. /// A that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. // Token: 0x06001615 RID: 5653 RVA: 0x00055168 File Offset: 0x00053368 public DirectoryNotFoundException(string message) : base(message) { } /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. // Token: 0x06001616 RID: 5654 RVA: 0x00055174 File Offset: 0x00053374 public DirectoryNotFoundException(string message, Exception innerException) : base(message, innerException) { } /// Initializes a new instance of the class with the specified serialization and context information. /// The that holds the serialized object data about the exception being thrown. /// The that contains contextual information about the source or destination. // Token: 0x06001617 RID: 5655 RVA: 0x00055180 File Offset: 0x00053380 protected DirectoryNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }