ExecutionException Constructors

Definition

Overloads

ExecutionException()

Constructs an ExecutionException with no detail message.

ExecutionException(Throwable)

Constructs an ExecutionException with the specified cause.

ExecutionException(String)

Constructs an ExecutionException with the specified detail message.

ExecutionException(IntPtr, JniHandleOwnership)

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

ExecutionException(String, Throwable)

Constructs an ExecutionException with the specified detail message and cause.

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).

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

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

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

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.

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