19 instantiations of PolicyException
mscorlib (19)
system\appdomain.cs (3)
1040
throw new
PolicyException
(Environment.GetResourceString("Policy_NoExecutionPermission"),
2619
throw new
PolicyException
(Environment.GetResourceString("Policy_PolicyAlreadySet"));
2678
throw new
PolicyException
(Environment.GetResourceString("Policy_PrincipalTwice"));
system\applicationactivator.cs (1)
168
throw new
PolicyException
(Environment.GetResourceString("Policy_NoExecutionPermission"),
system\security\codeaccesssecurityengine.cs (4)
749
throw new
PolicyException
(Environment.GetResourceString("Policy_NoExecutionPermission"),
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 (3)
286
throw new
PolicyException
(errorMessage);
319
throw new
PolicyException
(Environment.GetResourceString("Policy_UnableToSave", level.Label, extendedInformation), extendedError);
327
throw new
PolicyException
(Environment.GetResourceString("Policy_UnableToSave", level.Label, e.Message), e);
system\security\securitymanager.cs (2)
489
throw new
PolicyException
(Environment.GetResourceString("Policy_NoExecutionPermission"),
503
throw new
PolicyException
(Environment.GetResourceString( "Policy_NoRequiredPermission" ),
4 references to PolicyException
mscorlib (4)
system\security\permissionset.cs (1)
2372
catch (
PolicyException
)
system\security\policymanager.cs (3)
324
if (e is
PolicyException
)
440
catch (
PolicyException
)
463
catch (
PolicyException
)