singrdk/base/Libraries/System.IO/DirectoryNotFoundException.cs

40 lines
1.6 KiB
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
2008-11-17 18:29:00 -05:00
//============================================================
//
// Class: DirectoryNotFoundException
//
// Purpose: Exception for accessing a path that doesn't exist.
//
//===========================================================
2008-03-05 09:52:00 -05:00
using System;
2008-11-17 18:29:00 -05:00
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).
//
2008-03-05 09:52:00 -05:00
//| <include file='doc\DirectoryNotFoundException.uex' path='docs/doc[@for="DirectoryNotFoundException"]/*' />
public class DirectoryNotFoundException : IOException {
//| <include file='doc\DirectoryNotFoundException.uex' path='docs/doc[@for="DirectoryNotFoundException.DirectoryNotFoundException"]/*' />
public DirectoryNotFoundException()
: base("Arg_DirectoryNotFoundException") {
}
//| <include file='doc\DirectoryNotFoundException.uex' path='docs/doc[@for="DirectoryNotFoundException.DirectoryNotFoundException1"]/*' />
public DirectoryNotFoundException(String message)
: base(message) {
}
//| <include file='doc\DirectoryNotFoundException.uex' path='docs/doc[@for="DirectoryNotFoundException.DirectoryNotFoundException2"]/*' />
public DirectoryNotFoundException(String message, Exception innerException)
: base(message, innerException) {
}
}
}