語言

StringPrepParseException 建構函式

定義

多載

名稱 Description
StringPrepParseException(IntPtr, JniHandleOwnership)
StringPrepParseException(String, StringPrepParseExceptionError)

請用給定的訊息和錯誤碼建構一個 ParseException 物件

StringPrepParseException(String, StringPrepParseExceptionError, String, Int32)

請用給定的訊息和錯誤碼建構一個 ParseException 物件

StringPrepParseException(String, StringPrepParseExceptionError, String, Int32, Int32)

請用給定的訊息和錯誤碼建構一個 ParseException 物件

StringPrepParseException(IntPtr, JniHandleOwnership)

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

參數

javaReference
IntPtr

nativeint

備註

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

適用於

StringPrepParseException(String, StringPrepParseExceptionError)

請用給定的訊息和錯誤碼建構一個 ParseException 物件

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=24)]
public StringPrepParseException(string? message, Android.Icu.Text.StringPrepParseExceptionError error);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=24)>]
new Android.Icu.Text.StringPrepParseException : string * Android.Icu.Text.StringPrepParseExceptionError -> Android.Icu.Text.StringPrepParseException

參數

message
String

一個描述錯誤類型的字串

error
StringPrepParseExceptionError

發生的錯誤

屬性

備註

請用給定的訊息和錯誤碼建構一個 ParseException 物件

Java 文件 android.icu.text.StringPrepParseException.StringPrepParseException(java.lang.String, int)。

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

適用於

StringPrepParseException(String, StringPrepParseExceptionError, String, Int32)

請用給定的訊息和錯誤碼建構一個 ParseException 物件

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;I)V", "", ApiSince=24)]
public StringPrepParseException(string? message, Android.Icu.Text.StringPrepParseExceptionError error, string? rules, int pos);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;I)V", "", ApiSince=24)>]
new Android.Icu.Text.StringPrepParseException : string * Android.Icu.Text.StringPrepParseExceptionError * string * int -> Android.Icu.Text.StringPrepParseException

參數

message
String

一個描述錯誤類型的字串

error
StringPrepParseExceptionError

發生的錯誤

rules
String

輸入規則字串

pos
Int32

錯誤在規則字串中的位置

屬性

備註

請用給定的訊息和錯誤碼建構一個 ParseException 物件

Java 文件 android.icu.text.StringPrepParseException.StringPrepParseException(java.lang.String, int, java.lang.String, int)。

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

適用於

StringPrepParseException(String, StringPrepParseExceptionError, String, Int32, Int32)

請用給定的訊息和錯誤碼建構一個 ParseException 物件

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;II)V", "", ApiSince=24)]
public StringPrepParseException(string? message, Android.Icu.Text.StringPrepParseExceptionError error, string? rules, int pos, int lineNumber);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;II)V", "", ApiSince=24)>]
new Android.Icu.Text.StringPrepParseException : string * Android.Icu.Text.StringPrepParseExceptionError * string * int * int -> Android.Icu.Text.StringPrepParseException

參數

message
String

一個描述錯誤類型的字串

error
StringPrepParseExceptionError

發生的錯誤

rules
String

輸入規則字串

pos
Int32

錯誤在規則字串中的位置

lineNumber
Int32

錯誤發生的行號。 如果解析引擎沒有使用這個欄位,它應該將其設為零。 否則應該是正整數。 此欄位的預設值為 -1。 如果填充此結構的程式碼沒有使用行號,則該結構會被設為 0。

屬性

備註

請用給定的訊息和錯誤碼建構一個 ParseException 物件

Java 文件 android.icu.text.StringPrepParseException.StringPrepParseException(java.lang.String, int, java.lang.String, int, int)。

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

適用於