// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //============================================================ // // Class: DirectoryNotFoundException // // Purpose: Exception for accessing a path that doesn't exist. // //=========================================================== using System; namespace System.IO { // // Thrown when trying to access a file that doesn't exist on disk. // Note this is thrown for 2 HRESULTS: The Win32 errorcode-as-HRESULT // ERROR_PATH_NOT_FOUND (0x80070003) and STG_E_PATHNOTFOUND (0x80030003). // //| public class DirectoryNotFoundException : IOException { //| public DirectoryNotFoundException() : base("Arg_DirectoryNotFoundException") { } //| public DirectoryNotFoundException(String message) : base(message) { } //| public DirectoryNotFoundException(String message, Exception innerException) : base(message, innerException) { } } }