IllformedLocaleException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IllformedLocaleException() |
Constructs a new |
IllformedLocaleException(String) |
Constructs a new |
IllformedLocaleException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
IllformedLocaleException(String, Int32) |
Constructs a new |
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.
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
- 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.
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.