InputMismatchException 构造函数

定义

重载

InputMismatchException()

构造一个 InputMismatchException 用作 null 其错误消息字符串的函数。

InputMismatchException(String)

构造一个 InputMismatchException引用,保存对错误消息字符串 s 的引用,以便以后通过 getMessage 该方法进行检索。

InputMismatchException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

InputMismatchException()

构造一个 InputMismatchException 用作 null 其错误消息字符串的函数。

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

注解

构造一个 InputMismatchException 用作 null 其错误消息字符串的函数。

适用于 . 的 java.util.InputMismatchException.InputMismatchException()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

InputMismatchException(String)

构造一个 InputMismatchException引用,保存对错误消息字符串 s 的引用,以便以后通过 getMessage 该方法进行检索。

[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

参数

s
String

详细信息消息。

属性

注解

构造一个 InputMismatchException引用,保存对错误消息字符串 s 的引用,以便以后通过 getMessage 该方法进行检索。

适用于 . 的 java.util.InputMismatchException.InputMismatchException(java.lang.String)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

InputMismatchException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

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

参数

javaReference
IntPtr

nativeint

IntPtr一个包含 Java 本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于