Android Guides | Samples

Java.Security.AccessControlException Class

AccessControlException is thrown if the access control infrastructure denies protected access due to missing permissions.

See Also: AccessControlException

Syntax

[Android.Runtime.Register("java/security/AccessControlException", DoNotGenerateAcw=true)]
public class AccessControlException : SecurityException

Remarks

AccessControlException is thrown if the access control infrastructure denies protected access due to missing permissions.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Security.AccessControlException are listed below.

See Also: SecurityException

Public Constructors

Constructs a new instance of AccessControlException with the given message.
Constructs a new instance of AccessControlException with the given message and the requested Permission which was not granted.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
PermissionPermission. Returns the requested permission that caused this Exception or null if there is no corresponding Permission.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.