Share via


DataFormatException Constructors

Definition

Overloads

DataFormatException()

Constructs a DataFormatException with no detail message.

DataFormatException(String)

Constructs a DataFormatException with the specified detail message.

DataFormatException(IntPtr, JniHandleOwnership)

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

DataFormatException()

Constructs a DataFormatException with no detail message.

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

Remarks

Constructs a DataFormatException with no detail message.

Java documentation for java.util.zip.DataFormatException.DataFormatException().

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

DataFormatException(String)

Constructs a DataFormatException with the specified detail message.

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

Parameters

s
String

the String containing a detail message

Attributes

Remarks

Constructs a DataFormatException with the specified detail message. A detail message is a String that describes this particular exception.

Java documentation for java.util.zip.DataFormatException.DataFormatException(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

DataFormatException(IntPtr, JniHandleOwnership)

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

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

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