using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.IO
{
/// The exception that is thrown when trying to access a drive or share that is not available.
/// 2
// Token: 0x020001AF RID: 431
[ComVisible(true)]
[Serializable]
public class DriveNotFoundException : 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: 0x0600162E RID: 5678 RVA: 0x000555A0 File Offset: 0x000537A0
public DriveNotFoundException()
: base("Attempted to access a drive that is not available.")
{
base.HResult = -2147024893;
}
/// Initializes a new instance of the class with the specified message string and the HRESULT set to COR_E_DIRECTORYNOTFOUND.
/// A object that describes the error. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
// Token: 0x0600162F RID: 5679 RVA: 0x000555B8 File Offset: 0x000537B8
public DriveNotFoundException(string message)
: base(message)
{
base.HResult = -2147024893;
}
/// Initializes a new instance of the class with the 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: 0x06001630 RID: 5680 RVA: 0x000555CC File Offset: 0x000537CC
public DriveNotFoundException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2147024893;
}
/// Initializes a new instance of the class with the specified serialization and context information.
/// A object that contains the serialized object data about the exception being thrown.
/// A object that contains contextual information about the source or destination of the exception being thrown.
// Token: 0x06001631 RID: 5681 RVA: 0x000555E4 File Offset: 0x000537E4
protected DriveNotFoundException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x04000651 RID: 1617
private const int ErrorCode = -2147024893;
}
}