FileAlreadyExistsException
class FileAlreadyExistsException(val file: File, val other: File? = null, val reason: String? = null) : FileSystemException(source)
An exception class which is used when some file to create or copy to already exists.
Since Kotlin
1.0Properties
Functions
Link copied to clipboard
When supported by the platform, adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.
Since Kotlin 1.1
Link copied to clipboard
Prints the detailed description of this throwable to the standard error output.
Since Kotlin 1.0
Prints the detailed description of this throwable to the specified stream.
Since Kotlin 1.0
Prints the detailed description of this throwable to the specified writer.
Since Kotlin 1.0