Freigeben über


StringPrepParseException Constructors

Definition

Overloads

StringPrepParseException(IntPtr, JniHandleOwnership)
StringPrepParseException(String, StringPrepParseExceptionError)

Construct a ParseException object with the given message and error code

StringPrepParseException(String, StringPrepParseExceptionError, String, Int32)

Construct a ParseException object with the given message and error code

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

Construct a ParseException object with the given message and error code

StringPrepParseException(IntPtr, JniHandleOwnership)

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

Parameters

javaReference
IntPtr

nativeint

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.

Applies to

StringPrepParseException(String, StringPrepParseExceptionError)

Construct a ParseException object with the given message and error code

[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

Parameters

message
String

A string describing the type of error that occurred

error
StringPrepParseExceptionError

The error that has occurred

Attributes

Remarks

Construct a ParseException object with the given message and error code

Java documentation for android.icu.text.StringPrepParseException.StringPrepParseException(java.lang.String, int).

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

StringPrepParseException(String, StringPrepParseExceptionError, String, Int32)

Construct a ParseException object with the given message and error code

[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

Parameters

message
String

A string describing the type of error that occurred

error
StringPrepParseExceptionError

The error that has occurred

rules
String

The input rules string

pos
Int32

The position of error in the rules string

Attributes

Remarks

Construct a ParseException object with the given message and error code

Java documentation for android.icu.text.StringPrepParseException.StringPrepParseException(java.lang.String, int, java.lang.String, int).

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

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

Construct a ParseException object with the given message and error code

[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

Parameters

message
String

A string describing the type of error that occurred

error
StringPrepParseExceptionError

The error that has occurred

rules
String

The input rules string

pos
Int32

The position of error in the rules string

lineNumber
Int32

The line number at which the error has occurred. If the parse engine is not using this field, it should set it to zero. Otherwise it should be a positive integer. The default value of this field is -1. It will be set to 0 if the code populating this struct is not using line numbers.

Attributes

Remarks

Construct a ParseException object with the given message and error code

Java documentation for android.icu.text.StringPrepParseException.StringPrepParseException(java.lang.String, int, java.lang.String, int, int).

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