using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error.
/// 2
// Token: 0x020006BA RID: 1722
[ComVisible(true)]
[Serializable]
public class UnauthorizedAccessException : SystemException
{
/// Initializes a new instance of the class.
// Token: 0x0600410A RID: 16650 RVA: 0x000DD664 File Offset: 0x000DB864
public UnauthorizedAccessException()
: base(Locale.GetText("Access to the requested resource is not authorized."))
{
base.HResult = -2146233088;
}
/// Initializes a new instance of the class with a specified error message.
/// The message that describes the error.
// Token: 0x0600410B RID: 16651 RVA: 0x000DD684 File Offset: 0x000DB884
public UnauthorizedAccessException(string message)
: base(message)
{
base.HResult = -2146233088;
}
/// 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 a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
// Token: 0x0600410C RID: 16652 RVA: 0x000DD698 File Offset: 0x000DB898
public UnauthorizedAccessException(string message, Exception inner)
: base(message, inner)
{
base.HResult = -2146233088;
}
/// Initializes a new instance of the class with serialized data.
/// The that holds the serialized object data about the exception being thrown.
/// The that contains contextual information about the source or destination.
// Token: 0x0600410D RID: 16653 RVA: 0x000DD6B0 File Offset: 0x000DB8B0
protected UnauthorizedAccessException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x04001A1A RID: 6682
private const int Result = -2146233088;
}
}