Share via


IllformedLocaleException Constructors

Definition

Overloads

IllformedLocaleException()

Constructs a new IllformedLocaleException with no detail message and -1 as the error index.

IllformedLocaleException(String)

Constructs a new IllformedLocaleException with the given message and -1 as the error index.

IllformedLocaleException(IntPtr, JniHandleOwnership)
IllformedLocaleException(String, Int32)

Constructs a new IllformedLocaleException with the given message and the error index.

IllformedLocaleException()

Constructs a new IllformedLocaleException with no detail message and -1 as the error index.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=28)]
public IllformedLocaleException ();
Attributes

Remarks

Constructs a new IllformedLocaleException with no detail message and -1 as the error index.

Java documentation for android.icu.util.IllformedLocaleException.IllformedLocaleException().

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

IllformedLocaleException(String)

Constructs a new IllformedLocaleException with the given message and -1 as the error index.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=28)]
public IllformedLocaleException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=28)>]
new Android.Icu.Util.IllformedLocaleException : string -> Android.Icu.Util.IllformedLocaleException

Parameters

message
String

the message

Attributes

Remarks

Constructs a new IllformedLocaleException with the given message and -1 as the error index.

Java documentation for android.icu.util.IllformedLocaleException.IllformedLocaleException(java.lang.String).

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

IllformedLocaleException(IntPtr, JniHandleOwnership)

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

Parameters

javaReference
IntPtr

nativeint

Applies to

IllformedLocaleException(String, Int32)

Constructs a new IllformedLocaleException with the given message and the error index.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=28)]
public IllformedLocaleException (string? message, int errorIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=28)>]
new Android.Icu.Util.IllformedLocaleException : string * int -> Android.Icu.Util.IllformedLocaleException

Parameters

message
String

the message

errorIndex
Int32

the index

Attributes

Remarks

Constructs a new IllformedLocaleException with the given message and the error index. The error index is the approximate offset from the start of the ill-formed value to the point where the parse first detected an error. A negative error index value indicates either the error index is not applicable or unknown.

Java documentation for android.icu.util.IllformedLocaleException.IllformedLocaleException(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