語言

RejectedExecutionException 建構函式

定義

多載

名稱 Description
RejectedExecutionException()

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

RejectedExecutionException(Throwable)

構造具有指定原因的 a RejectedExecutionException

RejectedExecutionException(String)

構造包含指定細節訊息的 a RejectedExecutionException

RejectedExecutionException(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

RejectedExecutionException(String, Throwable)

構造出具有指定細節訊息與原因的 a RejectedExecutionException

RejectedExecutionException()

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

[Android.Runtime.Register(".ctor", "()V", "")]
public RejectedExecutionException();
屬性

備註

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

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

RejectedExecutionException(Throwable)

構造具有指定原因的 a RejectedExecutionException

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

參數

cause
Throwable

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

屬性

備註

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

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

RejectedExecutionException(String)

構造包含指定細節訊息的 a RejectedExecutionException

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

參數

message
String

細節訊息

屬性

備註

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

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

RejectedExecutionException(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtr,包含 Java Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

RejectedExecutionException(String, Throwable)

構造出具有指定細節訊息與原因的 a RejectedExecutionException

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

參數

message
String

細節訊息

cause
Throwable

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

屬性

備註

構造出具有指定細節訊息與原因的 a RejectedExecutionException

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於