SimpleFileVisitor.VisitFileFailed(Object, IOException) Method

Definition

Invoked for a file that could not be visited.

[Android.Runtime.Register("visitFileFailed", "(Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;", "GetVisitFileFailed_Ljava_lang_Object_Ljava_io_IOException_Handler", ApiSince=26)]
public virtual Java.Nio.FileNio.FileVisitResult? VisitFileFailed (Java.Lang.Object? file, Java.IO.IOException? exc);
[<Android.Runtime.Register("visitFileFailed", "(Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;", "GetVisitFileFailed_Ljava_lang_Object_Ljava_io_IOException_Handler", ApiSince=26)>]
abstract member VisitFileFailed : Java.Lang.Object * Java.IO.IOException -> Java.Nio.FileNio.FileVisitResult
override this.VisitFileFailed : Java.Lang.Object * Java.IO.IOException -> Java.Nio.FileNio.FileVisitResult

Parameters

file
Object

Returns

Implements

Attributes

Remarks

Invoked for a file that could not be visited.

Unless overridden, this method re-throws the I/O exception that prevented the file from being visited.

Java documentation for java.nio.file.SimpleFileVisitor.visitFileFailed(T, java.io.IOException).

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