RejectedExecutionException Constructors

Definition

Overloads

RejectedExecutionException()

Constructs a RejectedExecutionException with no detail message.

RejectedExecutionException(Throwable)

Constructs a RejectedExecutionException with the specified cause.

RejectedExecutionException(String)

Constructs a RejectedExecutionException with the specified detail message.

RejectedExecutionException(IntPtr, JniHandleOwnership)

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

RejectedExecutionException(String, Throwable)

Constructs a RejectedExecutionException with the specified detail message and cause.

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

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

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.

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

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

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

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.

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