open class FileSystemException : IOException
A base exception class for file system exceptions.
the second file involved in the operation, if any (for example, the target of a copy or move)
val other: File?
the description of the error
val reason: String?
Prints the stack trace of this throwable to the standard output.
Prints the stack trace of this throwable to the specified writer.
An exception class which is used when we have not enough access for some operation.
class AccessDeniedException : FileSystemException
An exception class which is used when some file to create or copy to already exists.
class FileAlreadyExistsException : FileSystemException