DataFormatException 构造函数

定义

重载

DataFormatException()

构造没有详细信息消息的 DataFormatException。

DataFormatException(String)

使用指定的详细信息消息构造 DataFormatException。

DataFormatException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

DataFormatException()

构造没有详细信息消息的 DataFormatException。

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

注解

构造没有详细信息消息的 DataFormatException。

适用于 . 的 java.util.zip.DataFormatException.DataFormatException()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

DataFormatException(String)

使用指定的详细信息消息构造 DataFormatException。

[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

参数

s
String

包含详细信息消息的字符串

属性

注解

使用指定的详细信息消息构造 DataFormatException。 详细信息消息是描述此特定异常的字符串。

适用于 . 的 java.util.zip.DataFormatException.DataFormatException(java.lang.String)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

DataFormatException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

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

参数

javaReference
IntPtr

nativeint

IntPtr一个包含 Java 本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于