using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.Security
{
/// The exception that is thrown when the security policy requires code to be type safe and the verification process is unable to verify that the code is type safe.
// Token: 0x020005DC RID: 1500
[ComVisible(true)]
[Serializable]
public class VerificationException : SystemException
{
/// Initializes a new instance of the class with default properties.
// Token: 0x060036AC RID: 13996 RVA: 0x000BB8B8 File Offset: 0x000B9AB8
public VerificationException()
{
}
/// Initializes a new instance of the class with an explanatory message.
/// A message indicating the reason the exception occurred.
// Token: 0x060036AD RID: 13997 RVA: 0x000BB8C0 File Offset: 0x000B9AC0
public VerificationException(string message)
: base(message)
{
}
/// Initializes a new instance of the class with serialized data.
/// The object that holds the serialized object data.
/// The contextual information about the source or destination.
// Token: 0x060036AE RID: 13998 RVA: 0x000BB8CC File Offset: 0x000B9ACC
protected VerificationException(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.
/// 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: 0x060036AF RID: 13999 RVA: 0x000BB8D8 File Offset: 0x000B9AD8
public VerificationException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}