Compartilhar 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)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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", "")]
public IllformedLocaleException ();
Attributes

Remarks

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

Java documentation for java.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", "")]
public IllformedLocaleException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.IllformedLocaleException : string -> Java.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 java.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)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

IllformedLocaleException(String, Int32)

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

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public IllformedLocaleException (string? message, int errorIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Java.Util.IllformedLocaleException : string * int -> Java.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 java.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