FileSystemException
Constructors
Properties
other
the second file involved in the operation, if any (for example, the target of a copy or move)
val other: File?reason
the description of the error
val reason: String?Extension Properties
stackTrace
Returns an array of stack trace elements representing the stack trace pertaining to this throwable.
val Throwable.stackTrace: Array<StackTraceElement>Extension Functions
printStackTrace
Prints the stack trace of this throwable to the standard output.
fun Throwable.printStackTrace()Prints the stack trace of this throwable to the specified writer.
fun Throwable.printStackTrace(writer: PrintWriter)Prints the stack trace of this throwable to the specified stream.
fun Throwable.printStackTrace(stream: PrintStream)Inheritors
AccessDeniedException
An exception class which is used when we have not enough access for some operation.
class AccessDeniedException : FileSystemExceptionFileAlreadyExistsException
An exception class which is used when some file to create or copy to already exists.
class FileAlreadyExistsException : FileSystemExceptionNoSuchFileException
An exception class which is used when file to copy does not exist.
class NoSuchFileException : FileSystemException