Share via


CertificateEncodingException Constructors

Definition

Overloads

CertificateEncodingException()

Constructs a CertificateEncodingException with no detail message.

CertificateEncodingException(Throwable)

Creates a CertificateEncodingException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

CertificateEncodingException(String)

Constructs a CertificateEncodingException with the specified detail message.

CertificateEncodingException(IntPtr, JniHandleOwnership)

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

CertificateEncodingException(String, Throwable)

Creates a CertificateEncodingException with the specified detail message and cause.

CertificateEncodingException()

Constructs a CertificateEncodingException with no detail message.

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

Remarks

Constructs a CertificateEncodingException with no detail message. A detail message is a String that describes this particular exception.

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

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

CertificateEncodingException(Throwable)

Creates a CertificateEncodingException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

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

Parameters

cause
Throwable

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

Attributes

Remarks

Creates a CertificateEncodingException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Added in 1.5.

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

CertificateEncodingException(String)

Constructs a CertificateEncodingException with the specified detail message.

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

Parameters

message
String

the detail message.

Attributes

Remarks

Constructs a CertificateEncodingException with the specified detail message. A detail message is a String that describes this particular exception.

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

CertificateEncodingException(IntPtr, JniHandleOwnership)

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

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

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

CertificateEncodingException(String, Throwable)

Creates a CertificateEncodingException with the specified detail message and cause.

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

Parameters

message
String

the detail message (which is saved for later retrieval by the #getMessage() method).

cause
Throwable

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

Attributes

Remarks

Creates a CertificateEncodingException with the specified detail message and cause.

Added in 1.5.

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