Welcome to mirror list, hosted at ThFree Co, Russian Federation.

PolicyException.cs « System.Security.Policy « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3fc12347231deaf71286b2ae6097a0bef580f3ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//	
// System.PolicyException.cs
//
// Author:
//	Duncan Mak (duncan@ximian.com)
//
// 2002 (C) Ximian, Inc. http://www.ximian.com
//

using System;
using System.Globalization;
using System.Runtime.Serialization;

namespace System.Security.Policy
{
	   [Serializable]
	   public class PolicyException : SystemException
	   {
			 // Constructors
			 public PolicyException ()
				    : base (Locale.GetText ("Cannot run because of policy."))
			 {
			 }

			 public PolicyException (string message)
				    : base (message)
			 {
			 }
			 
			 protected PolicyException (SerializationInfo info,
				    StreamingContext context)
				    : base (info, context)
			 {
			 }

			 public PolicyException (string message, Exception innerException)
				    :base (message, innerException)
			 {
			 }
				    
	   }
}