IOException IOException Constructors

Definition

Overloads

IOException()

Constructs a new IOException with its stack trace filled in.

IOException(Throwable) IOException(Throwable)

Constructs a new instance of this class with its detail cause filled in.

IOException(String) IOException(String)

Constructs a new IOException with its stack trace and detail message filled in.

IOException(IntPtr, JniHandleOwnership) IOException(IntPtr, JniHandleOwnership)

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

IOException(String, Throwable) IOException(String, Throwable)

Constructs a new instance of this class with detail message and cause filled in.

IOException()

Constructs a new IOException with its stack trace filled in.

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

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.

IOException(Throwable) IOException(Throwable)

Constructs a new instance of this class with its detail cause filled in.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=9)]
public IOException (Java.Lang.Throwable cause);
new Java.IO.IOException : Java.Lang.Throwable -> Java.IO.IOException

Parameters

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.

IOException(String) IOException(String)

Constructs a new IOException with its stack trace and detail message filled in.

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

Parameters

message
String String

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.

IOException(IntPtr, JniHandleOwnership) IOException(IntPtr, JniHandleOwnership)

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

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

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership 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.

IOException(String, Throwable) IOException(String, Throwable)

Constructs a new instance of this class with detail message and cause filled in.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=9)]
public IOException (string message, Java.Lang.Throwable cause);
new Java.IO.IOException : string * Java.Lang.Throwable -> Java.IO.IOException

Parameters

message
String String

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