FileAlreadyExistsException

port of java.nio.file.FileAlreadyExistsException

Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists.

Since

1.7

Constructors

Link copied to clipboard
constructor(file: String)

Constructs an instance of this class.

constructor(file: String, other: String, reason: String)

Constructs an instance of this class.

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

String identifying the file or null if not known.

Link copied to clipboard
open override val message: String?
Link copied to clipboard

String identifying the other file or null if there isn't another file or if not known.

Link copied to clipboard

Functions

Link copied to clipboard