Share via


NoSuchFileException Constructors

Definition

Overloads

NoSuchFileException(String)

Constructs an instance of this class.

NoSuchFileException(IntPtr, JniHandleOwnership)
NoSuchFileException(String, String, String)

Constructs an instance of this class.

NoSuchFileException(String)

Constructs an instance of this class.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)]
public NoSuchFileException (string? file);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Nio.FileNio.NoSuchFileException : string -> Java.Nio.FileNio.NoSuchFileException

Parameters

file
String

a string identifying the file or null if not known.

Attributes

Remarks

Constructs an instance of this class.

Java documentation for java.nio.file.NoSuchFileException.NoSuchFileException(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

NoSuchFileException(IntPtr, JniHandleOwnership)

protected NoSuchFileException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Nio.FileNio.NoSuchFileException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.FileNio.NoSuchFileException

Parameters

javaReference
IntPtr

nativeint

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

NoSuchFileException(String, String, String)

Constructs an instance of this class.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=26)]
public NoSuchFileException (string? file, string? other, string? reason);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Nio.FileNio.NoSuchFileException : string * string * string -> Java.Nio.FileNio.NoSuchFileException

Parameters

file
String

a string identifying the file or null if not known.

other
String

a string identifying the other file or null if not known.

reason
String

a reason message with additional information or null

Attributes

Remarks

Constructs an instance of this class.

Java documentation for java.nio.file.NoSuchFileException.NoSuchFileException(java.lang.String, java.lang.String, 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