Share via


CertStoreException Constructors

Definition

Overloads

CertStoreException()

Creates a CertStoreException with null as its detail message.

CertStoreException(Throwable)

Creates a CertStoreException that wraps the specified throwable.

CertStoreException(String)

Creates a CertStoreException with the given detail message.

CertStoreException(IntPtr, JniHandleOwnership)

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

CertStoreException(String, Throwable)

Creates a CertStoreException with the specified detail message and cause.

CertStoreException()

Creates a CertStoreException with null as its detail message.

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

Remarks

Creates a CertStoreException with null as its detail message.

Java documentation for java.security.cert.CertStoreException.CertStoreException().

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

CertStoreException(Throwable)

Creates a CertStoreException that wraps the specified throwable.

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

Parameters

cause
Throwable

the cause (which is saved for later retrieval by the #getCause getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Attributes

Remarks

Creates a CertStoreException that wraps the specified throwable. This allows any exception to be converted into a CertStoreException, while retaining information about the cause, which may be useful for debugging. The detail message is set to (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Java documentation for java.security.cert.CertStoreException.CertStoreException(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

CertStoreException(String)

Creates a CertStoreException with the given detail message.

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

Parameters

msg
String

the detail message

Attributes

Remarks

Creates a CertStoreException with the given detail message. A detail message is a String that describes this particular exception.

Java documentation for java.security.cert.CertStoreException.CertStoreException(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

CertStoreException(IntPtr, JniHandleOwnership)

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

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

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

CertStoreException(String, Throwable)

Creates a CertStoreException with the specified detail message and cause.

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

Parameters

msg
String

the detail message

cause
Throwable

the cause (which is saved for later retrieval by the #getCause getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Attributes

Remarks

Creates a CertStoreException with the specified detail message and cause.

Java documentation for java.security.cert.CertStoreException.CertStoreException(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