IllegalArgumentException IllegalArgumentException Constructors

Definition

Overloads

IllegalArgumentException()

Constructs a new IllegalArgumentException that includes the current stack trace.

IllegalArgumentException(Throwable) IllegalArgumentException(Throwable)

Constructs a new IllegalArgumentException with the current stack trace and the specified cause.

IllegalArgumentException(String) IllegalArgumentException(String)

Constructs a new IllegalArgumentException with the current stack trace and the specified detail message.

IllegalArgumentException(IntPtr, JniHandleOwnership) IllegalArgumentException(IntPtr, JniHandleOwnership)

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

IllegalArgumentException(String, Throwable) IllegalArgumentException(String, Throwable)

Constructs a new IllegalArgumentException with the current stack trace, the specified detail message and the specified cause.

IllegalArgumentException()

Constructs a new IllegalArgumentException that includes the current stack trace.

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

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.

IllegalArgumentException(Throwable) IllegalArgumentException(Throwable)

Constructs a new IllegalArgumentException with the current stack trace and the specified cause.

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

Parameters

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.

IllegalArgumentException(String) IllegalArgumentException(String)

Constructs a new IllegalArgumentException with the current stack trace and the specified detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public IllegalArgumentException (string s);
new Java.Lang.IllegalArgumentException : string -> Java.Lang.IllegalArgumentException

Parameters

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.

IllegalArgumentException(IntPtr, JniHandleOwnership) IllegalArgumentException(IntPtr, JniHandleOwnership)

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

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

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership 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.

IllegalArgumentException(String, Throwable) IllegalArgumentException(String, Throwable)

Constructs a new IllegalArgumentException with the current stack trace, the specified detail message and the specified cause.

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

Parameters

message
String String

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