NoSuchFileException

class NoSuchFileException(file: File, other: File?, reason: String?) : FileSystemException

An exception class which is used when file to copy does not exist.

Constructors

NoSuchFileException
Link copied to clipboard
fun NoSuchFileException(file: File, other: File? = null, reason: String? = null)

Functions

addSuppressed
Link copied to clipboard
fun addSuppressed(p0: Throwable)
fillInStackTrace
Link copied to clipboard
open fun fillInStackTrace(): Throwable
getLocalizedMessage
Link copied to clipboard
open fun getLocalizedMessage(): String
getStackTrace
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
getSuppressed
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
initCause
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
printStackTrace
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
setStackTrace
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

cause
Link copied to clipboard
open val cause: Throwable?
file
Link copied to clipboard
val file: File

the file on which the failed operation was performed.

message
Link copied to clipboard
open val message: String?
other
Link copied to clipboard
val other: File? = null

the second file involved in the operation, if any (for example, the target of a copy or move)

reason
Link copied to clipboard
val reason: String? = null

the description of the error