InputMismatchException 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
InputMismatchException() |
Constructs an |
InputMismatchException(String) |
Constructs an |
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
- 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.