open class FileSystemException : IOException
Platform and version requirements: JVM
A base exception class for file system exceptions.
FileSystemException( file: File, other: File? = null, reason: String? = null) A base exception class for file system exceptions. |
val file: File the file on which the failed operation was performed. | |
val other: File? the second file involved in the operation, if any (for example, the target of a copy or move) | |
val reason: String? the description of the error |
class AccessDeniedException : FileSystemException An exception class which is used when we have not enough access for some operation. | |
class FileAlreadyExistsException : FileSystemException An exception class which is used when some file to create or copy to already exists. | |
class NoSuchFileException : FileSystemException An exception class which is used when file to copy does not exist. |
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-system-exception/