using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.IO
{
/// The exception that is thrown when an I/O error occurs.
/// 1
// Token: 0x020001BE RID: 446
[ComVisible(true)]
[Serializable]
public class IOException : SystemException
{
/// Initializes a new instance of the class with its message string set to the empty string (""), its HRESULT set to COR_E_IO, and its inner exception set to a null reference.
// Token: 0x060016F0 RID: 5872 RVA: 0x000586D0 File Offset: 0x000568D0
public IOException()
: base("I/O Error")
{
}
/// Initializes a new instance of the class with its message string set to , its HRESULT set to COR_E_IO, and its inner exception set to null.
/// 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: 0x060016F1 RID: 5873 RVA: 0x000586E0 File Offset: 0x000568E0
public IOException(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: 0x060016F2 RID: 5874 RVA: 0x000586EC File Offset: 0x000568EC
public IOException(string message, Exception innerException)
: base(message, innerException)
{
}
/// Initializes a new instance of the class with the specified serialization and context information.
/// The data for serializing or deserializing the object.
/// The source and destination for the object.
// Token: 0x060016F3 RID: 5875 RVA: 0x000586F8 File Offset: 0x000568F8
protected IOException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// Initializes a new instance of the class with its message string set to and its HRESULT user-defined.
/// 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.
/// An integer identifying the error that has occurred.
// Token: 0x060016F4 RID: 5876 RVA: 0x00058704 File Offset: 0x00056904
public IOException(string message, int hresult)
: base(message)
{
base.HResult = hresult;
}
}
}