語言

InputMismatchException 建構函式

定義

多載

名稱 Description
InputMismatchException()

構造一個 InputMismatchException ,其 null 錯誤訊息串為其錯訊息串。

InputMismatchException(String)

構造一個 InputMismatchException,並儲存錯誤訊息字串 s 的參考,以便方法日後檢索 getMessage 。

InputMismatchException(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

InputMismatchException()

構造一個 InputMismatchException ,其 null 錯誤訊息串為其錯訊息串。

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

備註

構造一個 InputMismatchException ,其 null 錯誤訊息串為其錯訊息串。

的 java.util.InputMismatchException.InputMismatchException()Java 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

InputMismatchException(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於