/src/MvcFutures/Mvc/AntiForgeryTokenValidationException.cs
C# | 32 lines | 21 code | 5 blank | 6 comment | 0 complexity | 383410a73ac4d885e110b914f0af8b76 MD5 | raw file
- namespace Microsoft.Web.Mvc {
- using System;
- using System.Runtime.Serialization;
- using System.Web;
-
- [Serializable]
- [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
- [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
- public class AntiForgeryTokenValidationException : Exception {
- //
- // For guidelines regarding the creation of new exception types, see
- // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
- // and
- // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
- //
-
- public AntiForgeryTokenValidationException() {
- }
-
- public AntiForgeryTokenValidationException(string message)
- : base(message) {
- }
-
- public AntiForgeryTokenValidationException(string message, Exception inner)
- : base(message, inner) {
- }
-
- protected AntiForgeryTokenValidationException(SerializationInfo info, StreamingContext context)
- : base(info, context) {
- }
- }
- }