Share via


CertPathBuilderException Constructors

Definition

Overloads

CertPathBuilderException()

Creates a CertPathBuilderException with null as its detail message.

CertPathBuilderException(Throwable)

Creates a CertPathBuilderException that wraps the specified throwable.

CertPathBuilderException(String)

Creates a CertPathBuilderException with the given detail message.

CertPathBuilderException(IntPtr, JniHandleOwnership)

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

CertPathBuilderException(String, Throwable)

Creates a CertPathBuilderException with the specified detail message and cause.

CertPathBuilderException()

Creates a CertPathBuilderException with null as its detail message.

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

Remarks

Creates a CertPathBuilderException with null as its detail message.

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

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

CertPathBuilderException(Throwable)

Creates a CertPathBuilderException that wraps the specified throwable.

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

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 CertPathBuilderException that wraps the specified throwable. This allows any exception to be converted into a CertPathBuilderException, while retaining information about the wrapped exception, 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.CertPathBuilderException.CertPathBuilderException(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

CertPathBuilderException(String)

Creates a CertPathBuilderException with the given detail message.

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

Parameters

msg
String

the detail message

Attributes

Remarks

Creates a CertPathBuilderException with the given detail message. The detail message is a String that describes this particular exception in more detail.

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

CertPathBuilderException(IntPtr, JniHandleOwnership)

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

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

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

CertPathBuilderException(String, Throwable)

Creates a CertPathBuilderException with the specified detail message and cause.

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

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 CertPathBuilderException with the specified detail message and cause.

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