다음을 통해 공유


AccessControlException Constructors

Definition

Overloads

AccessControlException(String)

Constructs an AccessControlException with the specified, detailed message.

AccessControlException(IntPtr, JniHandleOwnership)

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

AccessControlException(String, Permission)

Constructs an AccessControlException with the specified, detailed message, and the requested permission that caused the exception.

AccessControlException(String)

Constructs an AccessControlException with the specified, detailed message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public AccessControlException (string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.AccessControlException : string -> Java.Security.AccessControlException

Parameters

s
String

the detail message.

Attributes

Remarks

Constructs an AccessControlException with the specified, detailed message.

Java documentation for java.security.AccessControlException.AccessControlException(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AccessControlException(IntPtr, JniHandleOwnership)

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

protected AccessControlException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.AccessControlException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.AccessControlException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AccessControlException(String, Permission)

Constructs an AccessControlException with the specified, detailed message, and the requested permission that caused the exception.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/Permission;)V", "")]
public AccessControlException (string? s, Java.Security.Permission? p);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/Permission;)V", "")>]
new Java.Security.AccessControlException : string * Java.Security.Permission -> Java.Security.AccessControlException

Parameters

s
String

the detail message.

p
Permission

the permission that caused the exception.

Attributes

Remarks

Constructs an AccessControlException with the specified, detailed message, and the requested permission that caused the exception.

Java documentation for java.security.AccessControlException.AccessControlException(java.lang.String, java.security.Permission).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to