using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.IO
{
/// The exception that is thrown when a pathname or filename is longer than the system-defined maximum length.
/// 2
// Token: 0x020001C5 RID: 453
[ComVisible(true)]
[Serializable]
public class PathTooLongException : IOException
{
/// Initializes a new instance of the class with its HRESULT set to COR_E_PATHTOOLONG.
// Token: 0x0600175D RID: 5981 RVA: 0x0005A628 File Offset: 0x00058828
public PathTooLongException()
: base(Locale.GetText("Pathname is longer than the maximum length"))
{
}
/// Initializes a new instance of the class with its message string set to and its HRESULT set to COR_E_PATHTOOLONG.
/// 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: 0x0600175E RID: 5982 RVA: 0x0005A63C File Offset: 0x0005883C
public PathTooLongException(string message)
: base(message)
{
}
/// 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: 0x0600175F RID: 5983 RVA: 0x0005A648 File Offset: 0x00058848
protected PathTooLongException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// 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.
/// 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.
/// 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: 0x06001760 RID: 5984 RVA: 0x0005A654 File Offset: 0x00058854
public PathTooLongException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}