RejectedExecutionException 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
RejectedExecutionException() |
Constructs a |
RejectedExecutionException(Throwable) |
Constructs a |
RejectedExecutionException(String) |
Constructs a |
RejectedExecutionException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
RejectedExecutionException(String, Throwable) |
Constructs a |
RejectedExecutionException()
Constructs a RejectedExecutionException
with no detail message.
[Android.Runtime.Register(".ctor", "()V", "")]
public RejectedExecutionException ();
- Attributes
Remarks
Constructs a RejectedExecutionException
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.RejectedExecutionException.RejectedExecutionException()
.
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
RejectedExecutionException(Throwable)
Constructs a RejectedExecutionException
with the
specified cause.
[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
Parameters
- cause
- Throwable
the cause (which is saved for later retrieval by the
#getCause()
method)
- Attributes
Remarks
Constructs a RejectedExecutionException
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
RejectedExecutionException(String)
Constructs a RejectedExecutionException
with the
specified detail message.
[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
Parameters
- message
- String
the detail message
- Attributes
Remarks
Constructs a RejectedExecutionException
with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to #initCause(Throwable) initCause
.
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
RejectedExecutionException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected RejectedExecutionException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.RejectedExecutionException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.RejectedExecutionException
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
RejectedExecutionException(String, Throwable)
Constructs a RejectedExecutionException
with the
specified detail message and cause.
[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
Parameters
- message
- String
the detail message
- cause
- Throwable
the cause (which is saved for later retrieval by the
#getCause()
method)
- Attributes
Remarks
Constructs a RejectedExecutionException
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.