Sdílet prostřednictvím


ConcurrentModificationException Constructors

Definition

Overloads

ConcurrentModificationException()

Constructs a ConcurrentModificationException with no detail message.

ConcurrentModificationException(Throwable)

Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause.

ConcurrentModificationException(String)

Constructs a ConcurrentModificationException with the specified detail message.

ConcurrentModificationException(IntPtr, JniHandleOwnership)

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

ConcurrentModificationException(String, Throwable)

Constructs a new exception with the specified detail message and cause.

ConcurrentModificationException()

Constructs a ConcurrentModificationException with no detail message.

[Android.Runtime.Register(".ctor", "()V", "")]
public ConcurrentModificationException ();
Attributes

Remarks

Constructs a ConcurrentModificationException with no detail message.

Java documentation for java.util.ConcurrentModificationException.ConcurrentModificationException().

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

ConcurrentModificationException(Throwable)

Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause.

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

Parameters

cause
Throwable

the cause (which is saved for later retrieval by the Throwable#getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Attributes

Remarks

Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause.

Added in 1.7.

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

ConcurrentModificationException(String)

Constructs a ConcurrentModificationException with the specified detail message.

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

Parameters

message
String

the detail message pertaining to this exception.

Attributes

Remarks

Constructs a ConcurrentModificationException with the specified detail message.

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

ConcurrentModificationException(IntPtr, JniHandleOwnership)

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

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

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

ConcurrentModificationException(String, Throwable)

Constructs a new exception with the specified detail message and cause.

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

Parameters

message
String

the detail message (which is saved for later retrieval by the Throwable#getMessage() method).

cause
Throwable

the cause (which is saved for later retrieval by the Throwable#getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Attributes

Remarks

Constructs a new exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Added in 1.7.

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