2002-09-13 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / class / corlib / System / UnauthorizedAccessException.cs
1 //
2 // System.UnauthorizedAccessException.cs
3 //
4 // Author:
5 //   Paolo Molaro (lupus@ximian.com)
6 //   Duncan Mak  (duncan@ximian.com)
7 //
8 // (C) 2001 Ximian, Inc.  http://www.ximian.com
9 //
10
11 using System.Globalization;
12 using System.Runtime.Serialization;
13
14 namespace System {
15
16         [Serializable]
17         public class UnauthorizedAccessException : SystemException {
18                 // Constructors
19                 public UnauthorizedAccessException ()
20                         : base (Locale.GetText ("Access to the requested resource is not authorized"))
21                 {
22                 }
23
24                 public UnauthorizedAccessException (string message)
25                         : base (message)
26                 {
27                 }
28
29                 public UnauthorizedAccessException (string message, Exception inner)
30                         : base (message, inner)
31                 {
32                 }
33
34                 protected UnauthorizedAccessException (SerializationInfo info, StreamingContext context)
35                         : base (info, context)
36                 {
37                 }
38         }
39 }