DataFormatException 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
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
- 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.