//
// Author:
// Paolo Molaro (lupus@ximian.com)
+// Duncan Mak (duncan@ximian.com)
//
// (C) 2001 Ximian, Inc. http://www.ximian.com
//
+using System.Globalization;
+using System.Runtime.Serialization;
+
namespace System {
public class UnauthorizedAccessException : SystemException {
// Constructors
public UnauthorizedAccessException ()
- : base ("Access to the requested resource is not authorized")
+ : base (Locale.GetText ("Access to the requested resource is not authorized"))
{
}
: base (message, inner)
{
}
+
+ protected UnauthorizedAccessException (SerializationInfo info, StreamingContext context)
+ : base (info, context)
+ {
+ }
}
}