NoSuchFileException

JVM
1.0
class NoSuchFileException : FileSystemException

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

Constructors

JVM
1.0

<init>

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

NoSuchFileException(
    file: File,
    other: File? = null,
    reason: String? = null)

Extension Properties

JVM
1.0

stackTrace

Returns an array of stack trace elements representing the stack trace pertaining to this throwable.

val Throwable.stackTrace: Array<StackTraceElement>

Extension Functions

JVM
1.0

addSuppressed

When supported by the platform adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.

fun Throwable.addSuppressed(exception: Throwable)
JVM
1.0

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)