ExecutionException 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
ExecutionException() |
Constructs an |
ExecutionException(Throwable) |
Constructs an |
ExecutionException(String) |
Constructs an |
ExecutionException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
ExecutionException(String, Throwable) |
Constructs an |
ExecutionException()
Constructs an ExecutionException
with no detail message.
[Android.Runtime.Register(".ctor", "()V", "")]
protected ExecutionException ();
- Attributes
Remarks
Constructs an ExecutionException
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.ExecutionException.ExecutionException()
.
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
ExecutionException(Throwable)
Constructs an ExecutionException
with the specified cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public ExecutionException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Util.Concurrent.ExecutionException : Java.Lang.Throwable -> Java.Util.Concurrent.ExecutionException
Parameters
- cause
- Throwable
the cause (which is saved for later retrieval by the
#getCause()
method)
- Attributes
Remarks
Constructs an ExecutionException
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
ExecutionException(String)
Constructs an ExecutionException
with the specified detail
message.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
protected ExecutionException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.Concurrent.ExecutionException : string -> Java.Util.Concurrent.ExecutionException
Parameters
- message
- String
the detail message
- Attributes
Remarks
Constructs an ExecutionException
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.ExecutionException.ExecutionException(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
ExecutionException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected ExecutionException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.ExecutionException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.ExecutionException
Parameters
- 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
ExecutionException(String, Throwable)
Constructs an ExecutionException
with the specified detail
message and cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public ExecutionException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Util.Concurrent.ExecutionException : string * Java.Lang.Throwable -> Java.Util.Concurrent.ExecutionException
Parameters
- message
- String
the detail message
- cause
- Throwable
the cause (which is saved for later retrieval by the
#getCause()
method)
- Attributes
Remarks
Constructs an ExecutionException
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.