RejectedExecutionException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| RejectedExecutionException() |
构造一个 |
| RejectedExecutionException(Throwable) |
构造具有指定原因的 A |
| RejectedExecutionException(String) |
使用指定的详细信息消息构造 a |
| RejectedExecutionException(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
| RejectedExecutionException(String, Throwable) |
构造 |
RejectedExecutionException()
构造一个 RejectedExecutionException 没有详细信息消息。
[Android.Runtime.Register(".ctor", "()V", "")]
public RejectedExecutionException();
- 属性
注解
构造一个 RejectedExecutionException 没有详细信息消息。 原因未初始化,随后可以通过调用来 #initCause(Throwable) initCause初始化。
适用于 . 的 java.util.concurrent.RejectedExecutionException.RejectedExecutionException()Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
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)。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
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初始化。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
RejectedExecutionException(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected RejectedExecutionException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.RejectedExecutionException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.RejectedExecutionException
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
RejectedExecutionException(String, Throwable)
构造 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() )
- 属性
注解
构造 RejectedExecutionException 具有指定的详细信息消息和原因。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。