Share via


KeyChainException Constructors

Definition

Overloads

KeyChainException()

Constructs a new KeyChainException that includes the current stack trace.

KeyChainException(Throwable)

Constructs a new KeyChainException with the current stack trace and the specified cause.

KeyChainException(String)

Constructs a new KeyChainException with the current stack trace and the specified detail message.

KeyChainException(IntPtr, JniHandleOwnership)

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

KeyChainException(String, Throwable)

Constructs a new KeyChainException with the current stack trace, the specified detail message and the specified cause.

KeyChainException()

Constructs a new KeyChainException that includes the current stack trace.

[Android.Runtime.Register(".ctor", "()V", "")]
public KeyChainException ();
Attributes

Remarks

Constructs a new KeyChainException that includes the current stack trace.

Java documentation for android.security.KeyChainException.KeyChainException().

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

KeyChainException(Throwable)

Constructs a new KeyChainException with the current stack trace and the specified cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public KeyChainException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Android.Security.KeyChainException : Java.Lang.Throwable -> Android.Security.KeyChainException

Parameters

cause
Throwable

the cause of this exception, may be null.

Attributes

Remarks

Constructs a new KeyChainException with the current stack trace and the specified cause.

Java documentation for android.security.KeyChainException.KeyChainException(java.lang.Throwable).

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

KeyChainException(String)

Constructs a new KeyChainException with the current stack trace and the specified detail message.

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

Parameters

detailMessage
String

the detail message for this exception.

Attributes

Remarks

Constructs a new KeyChainException with the current stack trace and the specified detail message.

Java documentation for android.security.KeyChainException.KeyChainException(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

KeyChainException(IntPtr, JniHandleOwnership)

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

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

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

KeyChainException(String, Throwable)

Constructs a new KeyChainException with the current stack trace, the specified detail message and the specified cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public KeyChainException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Android.Security.KeyChainException : string * Java.Lang.Throwable -> Android.Security.KeyChainException

Parameters

message
String

the detail message for this exception.

cause
Throwable

the cause of this exception, may be null.

Attributes

Remarks

Constructs a new KeyChainException with the current stack trace, the specified detail message and the specified cause.

Java documentation for android.security.KeyChainException.KeyChainException(java.lang.String, java.lang.Throwable).

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