Language

KeyExpiredException Constructors

Definition

Overloads

Name Description
KeyExpiredException()

Constructs a new KeyExpiredException without detail message and cause.

KeyExpiredException(String)

Constructs a new KeyExpiredException with the provided detail message and no cause.

KeyExpiredException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

KeyExpiredException(String, Throwable)

Constructs a new KeyExpiredException with the provided detail message and cause.

KeyExpiredException()

Constructs a new KeyExpiredException without detail message and cause.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=23)]
public KeyExpiredException();
Attributes

Remarks

Constructs a new KeyExpiredException without detail message and cause.

Java documentation for android.security.keystore.KeyExpiredException.KeyExpiredException().

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

KeyExpiredException(String)

Constructs a new KeyExpiredException with the provided detail message and no cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=23)]
public KeyExpiredException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=23)>]
new Android.Security.Keystore.KeyExpiredException : string -> Android.Security.Keystore.KeyExpiredException

Parameters

message
String

The detail message stored in the exception.

Attributes

Remarks

Constructs a new KeyExpiredException with the provided detail message and no cause.

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

KeyExpiredException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

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

KeyExpiredException(String, Throwable)

Constructs a new KeyExpiredException with the provided detail message and cause.

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

Parameters

message
String

The detail message stored in the exception.

cause
Throwable

The exception that caused this failure, or null if no cause is supplied.

Attributes

Remarks

Constructs a new KeyExpiredException with the provided detail message and cause.

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