Share via


CharConversionException Constructors

Definition

Overloads

CharConversionException()

This provides no detailed message.

CharConversionException(String)

This provides a detailed message.

CharConversionException(IntPtr, JniHandleOwnership)

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

CharConversionException()

This provides no detailed message.

[Android.Runtime.Register(".ctor", "()V", "")]
public CharConversionException ();
Attributes

Remarks

This provides no detailed message.

Java documentation for java.io.CharConversionException.CharConversionException().

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

CharConversionException(String)

This provides a detailed message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public CharConversionException (string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.IO.CharConversionException : string -> Java.IO.CharConversionException

Parameters

s
String

the detailed message associated with the exception.

Attributes

Remarks

This provides a detailed message.

Java documentation for java.io.CharConversionException.CharConversionException(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

CharConversionException(IntPtr, JniHandleOwnership)

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

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

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