Share via


UTFDataFormatException Constructors

Definition

Overloads

UTFDataFormatException()

Constructs a UTFDataFormatException with null as its error detail message.

UTFDataFormatException(String)

Constructs a UTFDataFormatException with the specified detail message.

UTFDataFormatException(IntPtr, JniHandleOwnership)

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

UTFDataFormatException()

Constructs a UTFDataFormatException with null as its error detail message.

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

Remarks

Constructs a UTFDataFormatException with null as its error detail message.

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

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

UTFDataFormatException(String)

Constructs a UTFDataFormatException with the specified detail message.

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

Parameters

s
String

the detail message.

Attributes

Remarks

Constructs a UTFDataFormatException with the specified detail message. The string s can be retrieved later by the java.lang.Throwable#getMessage method of class java.lang.Throwable.

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

UTFDataFormatException(IntPtr, JniHandleOwnership)

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

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

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