class FileAlreadyExistsException : FileSystemException
Platform and version requirements: JVM
An exception class which is used when some file to create or copy to already exists.
FileAlreadyExistsException( file: File, other: File? = null, reason: String? = null) An exception class which is used when some file to create or copy to already exists. |
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 |
© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-already-exists-exception/index.html