語言

ExecutionException 建構函式

定義

多載

名稱 Description
ExecutionException()

構建一個 ExecutionException 沒有細節的訊息。

ExecutionException(Throwable)

構造具有指定原因的 。ExecutionException

ExecutionException(String)

構建包含指定細節訊息的 。ExecutionException

ExecutionException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

ExecutionException(String, Throwable)

構造出具有指定細節訊息與原因的 。ExecutionException

ExecutionException()

構建一個 ExecutionException 沒有細節的訊息。

[Android.Runtime.Register(".ctor", "()V", "")]
protected ExecutionException();
屬性

備註

構建一個 ExecutionException 沒有細節的訊息。 原因未被初始化,之後可透過呼叫 #initCause(Throwable) initCause初始化。

Java 文件 java.util.concurrent.ExecutionException.ExecutionException()

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

ExecutionException(Throwable)

構造具有指定原因的 。ExecutionException

[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

參數

cause
Throwable

原因(該方法會保存以供日後檢索 #getCause()

屬性

備註

構造具有指定原因的 。ExecutionException 詳細訊息設為 (cause == null ? null : cause.toString()) (通常包含的 cause類別與詳細訊息)。

Java 文件 java.util.concurrent.ExecutionException.ExecutionException(java.lang.Throwable)

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

ExecutionException(String)

構建包含指定細節訊息的 。ExecutionException

[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

參數

message
String

細節訊息

屬性

備註

構建包含指定細節訊息的 。ExecutionException 原因未被初始化,之後可透過呼叫 #initCause(Throwable) initCause初始化。

Java 文件 java.util.concurrent.ExecutionException.ExecutionException(java.lang.String)

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

ExecutionException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

ExecutionException(String, Throwable)

構造出具有指定細節訊息與原因的 。ExecutionException

[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

參數

message
String

細節訊息

cause
Throwable

原因(該方法會保存以供日後檢索 #getCause()

屬性

備註

構造出具有指定細節訊息與原因的 。ExecutionException

Java 文件 java.util.concurrent.ExecutionException.ExecutionException(java.lang.String, java.lang.Throwable)

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於