-// \r
-// System.Web.HttpUnhandledException.cs\r
-//\r
-// Author:\r
-// Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
-//\r
-
+//
+// System.Web.HttpUnhandledException.cs
+//
+// Authors:
+// Tim Coleman (tim@timcoleman.com)
+// Sebastien Pouliot <sebastien@ximian.com>
+//
+// Copyright (C) Tim Coleman, 2002
+// Copyright (C) 2005-2009 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-\r
-namespace System.Web {\r
- public sealed class HttpUnhandledException : HttpException {\r
-\r
- #region Constructors\r
-\r
- internal HttpUnhandledException (string message, Exception innerException)\r
- : base (message, innerException)\r
- {\r
- }\r
-\r
- internal HttpUnhandledException (string message, string x, Exception innerException)\r
- : base (message, innerException)\r
- {\r
- }\r
-\r
- #endregion\r
- }\r
-}\r
+
+using System.Security.Permissions;
+
+namespace System.Web
+{
+ // CAS - no InheritanceDemand here as the class is sealed
+ [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+ [Serializable]
+ public sealed class HttpUnhandledException : HttpException
+ {
+ public HttpUnhandledException ()
+ {
+ }
+
+ public HttpUnhandledException (string message)
+ : base (message)
+ {
+ }
+
+ public HttpUnhandledException (string message, Exception innerException)
+ : base (message, innerException)
+ {
+ }
+ }
+}