CompletionException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CompletionException() |
Constructs a |
CompletionException(Throwable) |
Constructs a |
CompletionException(String) |
Constructs a |
CompletionException(IntPtr, JniHandleOwnership) | |
CompletionException(String, Throwable) |
Constructs a |
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
).
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
.
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
- transfer
- JniHandleOwnership
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.
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.