Condividi tramite


CompletionException Constructors

Definition

Overloads

CompletionException()

Constructs a CompletionException with no detail message.

CompletionException(Throwable)

Constructs a CompletionException with the specified cause.

CompletionException(String)

Constructs a CompletionException with the specified detail message.

CompletionException(IntPtr, JniHandleOwnership)
CompletionException(String, Throwable)

Constructs a CompletionException with the specified detail message and cause.

CompletionException()

Constructs a CompletionException with no detail message.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
protected CompletionException ();
Attributes

Remarks

Constructs a CompletionException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to #initCause(Throwable) initCause.

Java documentation for java.util.concurrent.CompletionException.CompletionException().

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

CompletionException(Throwable)

Constructs a CompletionException with the specified cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=24)]
public CompletionException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=24)>]
new Java.Util.Concurrent.CompletionException : Java.Lang.Throwable -> Java.Util.Concurrent.CompletionException

Parameters

cause
Throwable

the cause (which is saved for later retrieval by the #getCause() method)

Attributes

Remarks

Constructs a CompletionException with the specified cause. 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.util.concurrent.CompletionException.CompletionException(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

CompletionException(String)

Constructs a CompletionException with the specified detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)]
protected CompletionException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=24)>]
new Java.Util.Concurrent.CompletionException : string -> Java.Util.Concurrent.CompletionException

Parameters

message
String

the detail message

Attributes

Remarks

Constructs a CompletionException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to #initCause(Throwable) initCause.

Java documentation for java.util.concurrent.CompletionException.CompletionException(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

CompletionException(IntPtr, JniHandleOwnership)

protected CompletionException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.CompletionException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.CompletionException

Parameters

javaReference
IntPtr

nativeint

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

CompletionException(String, Throwable)

Constructs a CompletionException with the specified detail message and cause.

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

Parameters

message
String

the detail message

cause
Throwable

the cause (which is saved for later retrieval by the #getCause() method)

Attributes

Remarks

Constructs a CompletionException with the specified detail message and cause.

Java documentation for java.util.concurrent.CompletionException.CompletionException(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