ObjectStreamException Constructors

Definition

Overloads

ObjectStreamException()

Create an ObjectStreamException.

ObjectStreamException(String)

Create an ObjectStreamException with the specified argument.

ObjectStreamException(IntPtr, JniHandleOwnership)

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

ObjectStreamException()

Create an ObjectStreamException.

[Android.Runtime.Register(".ctor", "()V", "")]
protected ObjectStreamException ();
Attributes

Remarks

Create an ObjectStreamException.

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

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

ObjectStreamException(String)

Create an ObjectStreamException with the specified argument.

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

Parameters

message
String

the detailed message for the exception

Attributes

Remarks

Create an ObjectStreamException with the specified argument.

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

ObjectStreamException(IntPtr, JniHandleOwnership)

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

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

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