Share via


StreamCorruptedException Constructors

Definition

Overloads

StreamCorruptedException()

Create a StreamCorruptedException and list no reason why thrown.

StreamCorruptedException(String)

Create a StreamCorruptedException and list a reason why thrown.

StreamCorruptedException(IntPtr, JniHandleOwnership)

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

StreamCorruptedException()

Create a StreamCorruptedException and list no reason why thrown.

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

Remarks

Create a StreamCorruptedException and list no reason why thrown.

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

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

StreamCorruptedException(String)

Create a StreamCorruptedException and list a reason why thrown.

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

Parameters

reason
String

String describing the reason for the exception.

Attributes

Remarks

Create a StreamCorruptedException and list a reason why thrown.

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

StreamCorruptedException(IntPtr, JniHandleOwnership)

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

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

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