12 references to PolicyException
mscorlib (12)
system\appdomain.cs (2)
2619
throw new
PolicyException
(Environment.GetResourceString("Policy_PolicyAlreadySet"));
2678
throw new
PolicyException
(Environment.GetResourceString("Policy_PrincipalTwice"));
system\security\codeaccesssecurityengine.cs (3)
782
throw new
PolicyException
(Environment.GetResourceString("Policy_NullHostGrantSet", securityManager.GetType().FullName));
796
throw new
PolicyException
(Environment.GetResourceString("Policy_NoExecutionPermission"));
805
throw new
PolicyException
(Environment.GetResourceString("Policy_GrantSetDoesNotMatchDomain", securityManager.GetType().FullName));
system\security\policy\applicationsecuritymanager.cs (1)
80
throw new
PolicyException
(Environment.GetResourceString("Policy_NoTrustManager"));
system\security\policy\policylevel.cs (4)
484
throw new
PolicyException
(Environment.GetResourceString("Policy_RecoverNotFileBased"));
489
throw new
PolicyException
(Environment.GetResourceString("Policy_RecoverNoConfigFile"));
1234
throw new
PolicyException
(Environment.GetResourceString("Policy_NonFullTrustAssembly"));
1276
throw new
PolicyException
(Environment.GetResourceString("Policy_MultipleExclusive"));
system\security\policy\policystatement.cs (1)
254
throw new
PolicyException
(Environment.GetResourceString( "Policy_MultipleExclusive" ));
system\security\policymanager.cs (1)
286
throw new
PolicyException
(errorMessage);