Share via


InputMismatchException Constructors

Definition

Overloads

InputMismatchException()

Constructs an InputMismatchException with null as its error message string.

InputMismatchException(String)

Constructs an InputMismatchException, saving a reference to the error message string s for later retrieval by the getMessage method.

InputMismatchException(IntPtr, JniHandleOwnership)

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

InputMismatchException()

Constructs an InputMismatchException with null as its error message string.

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

Remarks

Constructs an InputMismatchException with null as its error message string.

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

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

InputMismatchException(String)

Constructs an InputMismatchException, saving a reference to the error message string s for later retrieval by the getMessage method.

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

Parameters

s
String

the detail message.

Attributes

Remarks

Constructs an InputMismatchException, saving a reference to the error message string s for later retrieval by the getMessage method.

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

InputMismatchException(IntPtr, JniHandleOwnership)

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

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

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