語言

ParseException 建構函式

定義

多載

名稱 Description
ParseException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

ParseException(String, Int32)

建構一個包含指定細節訊息與偏移量的解析異常。

ParseException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於

ParseException(String, Int32)

建構一個包含指定細節訊息與偏移量的解析異常。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public ParseException(string? s, int errorOffset);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Java.Text.ParseException : string * int -> Java.Text.ParseException

參數

s
String

細節訊息

errorOffset
Int32

指在解析過程中發現錯誤的位置。

屬性

備註

建構一個包含指定細節訊息與偏移量的解析異常。 詳細訊息是描述此特定例外的字串。

Java 文件 java.text.ParseException.ParseException(java.lang.String, int)。

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

適用於