FileAlreadyExistsException

JVM
1.0
class FileAlreadyExistsException : FileSystemException

An exception class which is used when some file to create or copy to already exists.

Constructors

JVM
1.0

<init>

An exception class which is used when some file to create or copy to already exists.

FileAlreadyExistsException(
    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

printStackTrace

Prints the detailed description of this throwable to the specified writer.

fun Throwable.printStackTrace(writer: PrintWriter)

Prints the detailed description of this throwable to the specified stream.

fun Throwable.printStackTrace(stream: PrintStream)